通达信永不套牢无背主图指标公式

2019-04-24    作者:股匠网整理    来源:本站整理

M1:=3;
M2:=5;
M3:=8;
M4:=13;
M5:=21;
M6:=34;
M7:=55;
M8:=89;
M9:=144;
M10:=233;
DRAWKLINE(HIGHOPENLOWCLOSE);
K:=BARSLAST(CURRBARSCOUNT=60);
GD:=CONST(IF(ISLASTBAR=1HHV(HK)0))NODRAW;
DDA:=CONST(IF(ISLASTBAR=1LLV(LK)0))NODRAW;
KJ:=GD-DDA;
一:IF(CURRBARSCOUNT<=5DDA+KJ*0.1DRAWNULL)COLORYELLOWDOTLINE;
二: IF(CURRBARSCOUNT<=5DDA+KJ*0.28DRAWNULL)COLORYELLOWDOTLINE;
三:IF(CURRBARSCOUNT<=5DDA+KJ*0.41DRAWNULL)COLORYELLOWDOTLINE;
四:IF(CURRBARSCOUNT<=5DDA+KJ*0.54DRAWNULL)COLORYELLOWDOTLINE;
五:IF(CURRBARSCOUNT<=5DDA+KJ*0.62DRAWNULL)COLORYELLOWDOTLINE;
六:IF(CURRBARSCOUNT<=5DDA+KJ*0.74DRAWNULL)COLORYELLOWDOTLINE;
七:IF(CURRBARSCOUNT<=5DDA+KJ*0.88DRAWNULL)COLORYELLOWDOTLINE;
八:IF(CURRBARSCOUNT<=5DDA+KJ*1DRAWNULL)COLORYELLOWDOTLINE;
DRAWTEXT(CURRBARSCOUNT=1一' 一线')COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1二' 二线')COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1三' 三线')COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1四' 四线')COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1五' 五线')COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1六' 六线')COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1七' 七线')COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1八' 八线')COLOR00FFFF;
跟A7:=C-REF(C1);
跟A8:=100*EMA(EMA(跟A76)6)/EMA(EMA(ABS(跟A7)6)6);
买:=LLV(跟A82)=LLV(跟A87) AND COUNT(跟A8<02) AND CROSS(跟A8MA(跟A82));
跟庄买进:DRAWTEXT(FILTER(买=15)L*0.9999'∠跟庄买进')COLORMAGENTA;
TA:=MAX(MAX((HIGH-LOW)ABS(REF(CLOSE1)-HIGH))ABS(REF(CLOSE1)-LOW));
ATR:=EMA(TA13);
VAR8A:=REF(CLOSE1)-REF(ATR1);
永不套牢线:HHV(VAR8A13) COLORCYAN;
DRAWTEXT(ISLASTBAR永不套牢线' 永不套牢线') COLORWHITE;
N8:=STRCAT(CON2STR(YEAR0)' 年 ');
Y8:=STRCAT(CON2STR(MONTH0)' 月 ');
R8:=STRCAT(CON2STR(DAY0)' 日 ');
SJ8:=STRCAT(STRCAT(N8Y8) R8);
SJ9:=STRCAT(STRCAT(N8Y8) R8);
DRAWTEXT_FIX(CURRBARSCOUNT=10.001.020SJ8)COLORYELLOW;
MA3:MA(CLOSEM1);
MA5:MA(CLOSEM2);
MA8:MA(CLOSEM3);
MA13:MA(CLOSEM4);
MA21:MA(CLOSEM5);
MA34:MA(CLOSEM6);
MA55:MA(CLOSEM7);
MA89:MA(CLOSEM8);
MA144:MA(CLOSEM9);
MA233:MA(CLOSEM10);

阅读:387    评论:0

联系我们 - 关于我们 - 网站地图

声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除! 


【电脑版】  【回到顶部】