【新提醒】请老师做个预警,量价共振
请老师做个预警
MA1:=MA(C,M1);
MA2:=MA(C,M2); MA3:=MA(C,M3); MT1:=MA1>MA2 AND MA2>MA3;{均线多头} MT2:=MA3>MA2 AND MA2>MA1;{均线空头} MT3:=IF(MT1=1,MT1,IF(MT2=1,MT2,3)); MM1:=MA(V*C,M1); MM2:=MA(V*C,M2); MM3:=MA(V*C,M3); T1:=MM1>MM2 AND MM2>MM3;{量多头} T2:=MM3>MM2 AND MM2>MM1;{量空头} T3:=IF(T1=1,T1,IF(T2=1,T2,3)); STICKLINE(T1,0.5,1.45,4,0)COLORLIMAGENTA; STICKLINE(T2,0.5,1.45,4,0)COLORGREEN; STICKLINE(T3=3,0.5,1.45,4,0)COLORYELLOW; DRAWTEXT(ISLASTBAR=1,1,'量'),COLORBLUE; STICKLINE(MT1,1.5,2.4,4,0)COLORLIMAGENTA; STICKLINE(MT2,1.5,2.4,4,0)COLORGREEN; STICKLINE(MT3=3,1.5,2.4,4,0)COLORYELLOW; DRAWTEXT(ISLASTBAR=1,2,'价'),COLORBLUE; MA1:=1,222,5 MA2:=1,222,40 MA3:=1,222,135 当量,价 同时都变成红色时候的预警。另外做一个量变红的预警。谢谢 |
相关搜索
相关帖子
· 做一个预警
本帖最后由 闹海老龙神 于 2020-12-24 16:35 编辑
{供参考} M1:=5; MA1:=MA(C,M1); 预警1:T1 AND MT1; MM1:=MA(V*C,M1); 预警2:T1; |