通达信紫色买进红色持有绿色卖出主图指标公式

[复制链接]
查看107 | 回复0 | 2022-7-24 06:55:55 | 显示全部楼层 |阅读模式

MA18:EMA(C,18),COLOREEEEEE,LINETHICK2;
红18:IF(MA18>REF(MA18,1),MA18,DRAWNULL),COLOR0000FF,LINETHICK4;
绿18:IF(MA18<REF(MA18,1),MA18,DRAWNULL),COLOR00FF00,LINETHICK4;
STICKLINE(MA18>REF(MA18,1),LOW,HIGH,0,0),COLOR0000DD;
STICKLINE(MA18>REF(MA18,1),CLOSE,OPEN,3,0),COLORRED;
STICKLINE(MA18<REF(MA18,1),LOW,HIGH,0.0,0),COLORFFDD00;
STICKLINE(MA18<REF(MA18,1),CLOSE,OPEN,3,0),COLORFFFF00;
买进条件:STICKLINE(CROSS(MA18,REF(MA18,1)),OPEN,CLOSE,2.5,0),COLORFF00FF;
DRAWICON(CROSS(MA18,REF(MA18,1)),L*0.98,1);
DRAWICON(CROSS(MA18,REF(MA18,1)),L*0.95,7);
DRAWTEXT((C<MA(C,5) OR MA(C,5)<MA(C,10)) AND CURRBARSCOUNT<2,HHV(H,5)*1.04,'红线'),COLORRED;
DRAWTEXT((C<MA(C,5) OR MA(C,5)<MA(C,10))  AND CURRBARSCOUNT<2 ,HHV(H,5)*1.01,'持股'),COLORRED;
 

70255141.jpg

70255141.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则