副图公式源码支持 手机/电脑
GUAL*4+C*3+O*2+H)/10,COLORFF00FF,LINETHICK2;
GUB:EMA(GUA,21),COLOR00FF00,LINETHICK1;
GUC:=GUA-GUB;
STICKLINE(GUC>=0,(GUA-GUC*0.05),(GUA-GUC*0.15),3,0),COLOR00FFFF;
STICKLINE(GUC>=0,(GUA-GUC*0.2),(GUA-GUC*0.35),3,0),COLOR00CCFF;
STICKLINE(GUC>=0,(GUA-GUC*0.4),(GUA-GUC*0.55),3,0),COLOR0099FF;
STICKLINE(GUC>=0,(GUA-GUC*0.6),(GUA-GUC*0.75),3,0),COLOR0066FF;
STICKLINE(GUC>=0,(GUA-GUC*0.8),(GUA-GUC*0.95),3,0),COLOR0000CC;
STICKLINE(GUC<0,(GUB+GUC*0.05),(GUB+GUC*0.15),3,0),COLOR006600;
STICKLINE(GUC<0,(GUB+GUC*0.2),(GUB+GUC*0.35),3,0),COLOR009900;
STICKLINE(GUC<0,(GUB+GUC*0.4),(GUB+GUC*0.55),3,0),COLOR00CC00;
STICKLINE(GUC<0,(GUB+GUC*0.6),(GUB+GUC*0.75),3,0),COLOR00FF00;
STICKLINE(GUC<0,(GUB+GUC*0.8),(GUB+GUC*0.95),3,0),COLOR66FF00;
DRAWTEXT(CROSS(GUA,GUB),GUA,'买'),LINETHICK2,COLORRED;
DRAWTEXT(CROSS(GUB,GUA),GUB,'卖'),LINETHICK2,COLORGREEN;
选股公式源码
{选股公式:买}
GUA:=(L*4+C*3+O*2+H)/10,COLORFF00FF,LINETHICK2;
GUB:=EMA(GUA,21),COLOR00FF00,LINETHICK1;
GUC:=GUA-GUB;
AA:=STICKLINE(GUC>=0,(GUA-GUC*0.05),(GUA-GUC*0.15),3,0),COLOR00FFFF;
BB:=STICKLINE(GUC>=0,(GUA-GUC*0.2),(GUA-GUC*0.35),3,0),COLOR00CCFF;
CC:=STICKLINE(GUC>=0,(GUA-GUC*0.4),(GUA-GUC*0.55),3,0),COLOR0099FF;
买:CROSS(GUA,GUB);
{卖出公式:卖}
GUA:=(L*4+C*3+O*2+H)/10,COLORFF00FF,LINETHICK2;
GUB:=EMA(GUA,21),COLOR00FF00,LINETHICK1;
GUC:=GUA-GUB;
AA:=STICKLINE(GUC<0,(GUB+GUC*0.4),(GUB+GUC*0.55),3,0),COLOR00CC00;
BB:=STICKLINE(GUC<0,(GUB+GUC*0.6),(GUB+GUC*0.75),3,0),COLOR00FF00;
CC:=STICKLINE(GUC<0,(GUB+GUC*0.8),(GUB+GUC*0.95),3,0),COLOR66FF00;
卖:CROSS(GUB,GUA); |