简单抄底逃顶 买卖一目了然《通达信+指标+公式+副图+源码》分享
副图公式源码支持 手机/电脑
CHPA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CHPB:=SMA(CHPA,3,1);
CHPC:=SMA(CHPB,3,1);
JS:=EMA(3*CHPB-2*CHPC,2);
M:50,COLORYELLOW;
D:21,COLORGREEN;
DI:8,COLORBLUE;
DN:81,COLORFF00FF;
DDN:98,COLORRED;
CHP5:=CROSS(JS,110);
CHP6:=CROSS(JS,-6);
CHP7:=CROSS(100,JS);
CHP8:=CROSS(JS,6);
DRAWTEXT(CHP5,110,'逃'),COLORWHITE;
DRAWTEXT(CHP6,0,'抄'),COLORRED;
DRAWTEXT(CHP7,100,'卖'),COLORGREEN;
DRAWTEXT(CHP8,0,'买'),COLORMAGENTA;
选股公式源码
{选股公式一:买}
CHPA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CHPB:=SMA(CHPA,3,1);
CHPC:=SMA(CHPB,3,1);
JS:=EMA(3*CHPB-2*CHPC,2);
{M:50,COLORYELLOW;
D:21,COLORGREEN;
DI:8,COLORBLUE;
DN:81,COLORFF00FF;
DDN:98,COLORRED;}
CHP5:=CROSS(JS,110);
CHP6:=CROSS(JS,-6);
CHP7:=CROSS(100,JS);
CHP8:=CROSS(JS,6);
买:CHP8;
{选股公式二:抄}
CHPA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CHPB:=SMA(CHPA,3,1);
CHPC:=SMA(CHPB,3,1);
JS:=EMA(3*CHPB-2*CHPC,2);
{M:50,COLORYELLOW;
D:21,COLORGREEN;
DI:8,COLORBLUE;
DN:81,COLORFF00FF;
DDN:98,COLORRED;}
CHP5:=CROSS(JS,110);
CHP6:=CROSS(JS,-6);
CHP7:=CROSS(100,JS);
CHP8:=CROSS(JS,6);
抄:CHP6;