以下是通达信寻找幸福主图指标(无源码的请下载附件导入)
通达信寻找幸福主图指标
源码
V1:EMA(CLOSE,5);
V2:EMA(EMA(CLOSE,90)*1.01,10),LINETHICK2;
DRAWICON(CROSS(V1,V2),V2,1);
DRAWTEXT(CROSS(V1,V2),V1+0.05,'寻幸福的猪'),COLOR00FF00;
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORWHITE;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
AB:=CROSS(AK1,AK);
DRAWTEXT((AB = 1),(LOW * 0.99),'幸福猪窝'),COLORYELLOW;
816144077.jpg
|