通达信双均线买入卖出主图指标公式

2024-04-20 02:00发布

M1:=13;M2:=5;MA1:MA(CLOSE,M1);{设定}MA2:=MA(CLOSE,M2);{设定均线}DRAWKLINE(H,O,L,C);{写}STICKLINE(MA1>=REF(MA1,1),H,L,0,0),COLOR0000FF;{均线上行,标记影线}STICKLINE(MA1>=REF(MA1,1) AND (C>=O),O,C,3,1),COLOR0000FF;{均线上行,标记}STICKLINE(MA1>=REF(MA1,1)AND (C<=O),O,C,3,0),COLOR0000FF;{均线上行,标记}STICKLINE(MA1>=REF(MA1,1) AND MA2<=REF(MA2,1) AND COUNT(MA1>=REF(MA1,1),20)>13,H,L,0,0),COLOR00FFFF;{做顶,标记影线}STICKLINE(MA1>=REF(MA1,1) AND MA2<=REF(MA2,1) AND COUNT(MA1>=REF(MA1,1),20)>13 AND (C>=O),O,C,3,1),COLOR00FFFF;
 解锁全文需 1  财富值,免费注册即送20财富值!