通達信紅牛強支撐主圖指標(biāo)公式
- 指標(biāo)類別: 通達信指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 均線
- 畫線方法: 主圖
- 日期:2023-09-18 來源:互聯(lián)網(wǎng)
通達信紅牛強支撐主圖指標(biāo)公式:
N:=5;P1:=3;P2:=4;M:=12;
A1:=DATE <= 13181231;
工作線:(EMA(C,14)) * A1,LINETHICK2,COLOR9590FF;
日30:MA(CLOSE,30),COLORCYAN,LINETHICK1;
日60:MA(CLOSE,60),COLOR10FFFF,LINETHICK1;
周30:MA(CLOSE,150),COLOR90FF90,LINETHICK1;
VAR1:=(C+H+O+L)/4;
賣出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
買入:XMA(VAR1,M)*(1-P2/1000),COLORLIGRAY ,LINETHICK2;
幅度:100*(賣出-買入)/買入,NODRAW;
DRAWTEXT(ISLASTBAR,日30,' 趨勢一'),COLORCYAN;
DRAWTEXT(ISLASTBAR,日60,' 趨勢二'),COLOR10FFFF;
DRAWTEXT(ISLASTBAR,周30,' 趨勢三'),COLOR90FF90;
DRAWTEXT(ISLASTBAR,買入,' 下軌'),COLORLIGRAY;
DRAWTEXT(ISLASTBAR,賣出,' 上軌'),COLORGREEN;
DRAWTEXT(ISLASTBAR,工作線,' 回調(diào)'),COLOR9590FF;
STICKLINE(CLOSE= OPEN ,HIGH,LOW,0,1 ),COLORWHITE;
STICKLINE(CLOSE< OPEN ,HIGH,LOW,0,1 ),COLORCYAN;
STICKLINE((CLOSE>OPEN),OPEN,CLOSE,3,0 ),COLOR000055;
STICKLINE((CLOSE>OPEN) ,OPEN,CLOSE,2.1,0 ),COLOR000099;
STICKLINE((CLOSE>OPEN) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;
STICKLINE((CLOSE>OPEN) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;
STICKLINE((CLOSE>OPEN) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;
STICKLINE((CLOSE<OPEN) ,OPEN,CLOSE,3,0 ),COLOR990000;
STICKLINE((CLOSE<OPEN) ,OPEN,CLOSE,2.1,0 ),COLORCC0000;
STICKLINE((CLOSE<OPEN) ,OPEN,CLOSE,1.5,0 ),COLORFF4400;
STICKLINE((CLOSE<OPEN) ,OPEN,CLOSE,0.9,0 ),COLORFF8800;
STICKLINE((CLOSE<OPEN) ,OPEN,CLOSE,0.3,0 ),COLORFFCC00;
備:=REF(買入,1)>REF(C,1)&&C>REF(C,1);
好:=買入>REF(買入,5)&&L<買入&&C>O&&C>REF(C,1);
DRAWICON(備||好,L,1);
紅紅:=(O>=日30&&O>=日60&&O>=周30)&&(L<=日30*1.01&&L<=日60*1.01&&L<=周30*1.01);
牛牛:=(O>=日30&&O>=日60&&O>=買入)&&(L<=日30*1.01&&L<=日60*1.01&&L<=買入*1.01);
紅牛:=(O>=日30&&O>=買入&&O>=周30)&&(L<=日30*1.01&&L<=買入*1.01&&L<=周30*1.01);
買買:=(O>=日60&&O>=買入&&O>=周30)&&(L<=日60*1.01&&L<=買入*1.01&&L<=周30*1.01);
DRAWICON(紅紅||牛牛||紅牛||買買,L*0.99,1);
DRAWTEXT(紅紅||牛牛||紅牛||買買,L*0.97,'強支撐')COLORYELLOW;
通達信紅牛強支撐主圖指標(biāo)公式實例圖解:
通達信紅牛強支撐主圖指標(biāo)公式