本指标没有未来函数,放心使用。简单易懂,操作简单。
N:=5;
M:=3;
DIFF : EMA(CLOSE,n) - EMA(CLOSE,m),LAYER0;
DEA : EMA(DIFF,9),LAYER0;
MACD : 2*(DIFF-DEA),COLORSTICK,LAYER0;
主升 : DIFF 0 AND DIFF DEA,COLOR0000FF,POINTDOT,LINETHICK0;
FILLRGN(DIFF,DEA,主升,RGB(250,0,0));
VarA:=LLV(LOW,35);
VarB:=HHV(HIGH,30);
VarC:=EMA((CLOSE-VarA)/(VarB-VarA)*4,4)*25;
明天逢低买:VarC 10 AND 100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)) 97,coloryellow;
VAR11:=9999999999999;
VAR21:=LLV(LOW,60);
VAR31:=HHV(HIGH,60);
VAR41:=EMA((CLOSE-VAR21)/(VAR31-VAR21)*100,5);
VAR5:=EMA(0.667*REF(VAR41,1)+0.333*VAR41,2);
VAR6:=OPEN=1.06 AND CLOSE/OPEN 1.12 AND HIGH/ CROSS(VAR41,VAR5) AND VAR41
顶:CROSS(VAR5,VAR41) AND VAR41 85,STICK,LINETHICK2,colorred;