黄金狙击主图指标公式,趋势买卖适用短中线,不漂移公式、源码分享[通达信公式]
相关标签:
黄金狙击主图,趋势买卖适用短中线,不漂移源码分享使用说明自用的短线、中线都适用的趋势买卖点指标,请仔细看我发的买卖要求,使用熟练后成功率是非常高的。买进: MAA5线为红色,并出现黄金柱跟庄买进。卖出: MAA5线为白色或绿色,并出现蓝柱出货。 一定要注意MAA5线的颜色是红色还是绿色,如果是绿色,出现黄金柱提示跟庄买进,这时候不能买,买了就被套,一定要注意。要在红线时出现黄金柱再考虑介入。黄金狙击主图Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');DRAWTEXT_FIX(ISLASTBAR,0,0.03,0,STRCAT(Z3,GNBLOCK)),COLORLIRED;DRAWTEXT_FIX(ISLASTBAR,0,0.09,0,FGBLOCK),COLORLIMAGENTA;MAA5:MA(C,5),COLORFF00FF,LINETHICK2;MAA10:=MA(C,10);MAA30:MA(C,30),COLORRED;KS:IF(MAA10>MAA30,MAA10,MAA30),COLORBLUE;A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A4:=SMA(A3,3,1);A5:=SMA(A4,3,1);A6:=3*A4-2*A5;A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖跟庄买进'),COLORYELLOW;STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;cxh1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);cxh2:=REF(cxh1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh3:=REF(cxh2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh4:=REF(cxh3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh5:=REF(cxh4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh6:=REF(cxh5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh7:=REF(cxh6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh8:=REF(cxh7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh9:=REF(cxh8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxhA:=REF(cxh9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxhB:=REF(cxhA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxhC:=REF(cxhB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);STICKLINE(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 ORcxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,CLOSE,REF(CLOSE,1),3,1),COLORRED;{红1}cxhD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);cxhE:=REF(cxhD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxhF:=REF(cxhE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh10:=REF(cxhF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh11:=REF(cxh10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh12:=REF(cxh11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh13:=REF(cxh12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh14:=REF(cxh13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh15:=REF(cxh14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh16:=REF(cxh15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh17:=REF(cxh16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh18:=REF(cxh17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);STICKLINE(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 ORcxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,CLOSE,REF(CLOSE,1),3,0),COLORFFCC66;cxh19:=REF(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 ORcxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,1) AND cxh1;STICKLINE(cxh19,REF(CLOSE,1),REF(CLOSE,2),4,1),COLORYELLOW;cxh1A:=REF(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 ORcxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,1) AND cxhD;STICKLINE(cxh1A,REF(CLOSE,1),REF(CLOSE,2),5,2),COLOR00FF00;STICKLINE(cxh19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00C8FF;STICKLINE(cxh19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ECFF;STICKLINE(cxh19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10FFFF;STICKLINE(cxh1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00D900;STICKLINE(cxh1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORBLUE;STICKLINE(cxh1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR090FF2;PMA:MA(C,5),COLORWHITE,LINETHICK2;IF(PMA>REF(PMA,1),PMA,DRAWNULL),COLORRED,LINETHICK2;IF(PMA<REF(PMA,1),PMA,DRAWNULL),COLORGREEN,LINETHICK2;T:=150;TT:=3;N1:=0;高1:=REF(HHV(H,T),TT);低1:=REF(LLV(L,T),TT);H1:=高1-(高1-低1)*0.191;H2:=高1-(高1-低1)*0.382;H3:=高1-(高1-低1)*0.5;H4:=高1-(高1-低1)*0.618;H5:=高1-(高1-低1)*0.809;顶:REFDATE(高1,DATE),COLORFFFF00;一:REFDATE(H1,DATE),DOTLINE,COLORYELLOW;二:REFDATE(H2,DATE),DOTLINE,COLORMAGENTA;三:REFDATE(H3,DATE),DOTLINE,COLOR00FFFF;四:REFDATE(H4,DATE),DOTLINE,COLORMAGENTA;五:REFDATE(H5,DATE),DOTLINE,COLORYELLOW;低:REFDATE(低1,DATE),COLOR00FF00;TT4:=(CURRBARSCOUNT=1);DRAWTEXT(TT4 AND 顶,顶,'顶'),COLOR208FFF;DRAWTEXT(TT4 AND 一,一,'0.809'),COLOR208FFF;DRAWTEXT(TT4 AND 二,二,'0.618'),COLOR208FFF;DRAWTEXT(TT4 AND 三,三,'0.5'),COLOR208FFF;DRAWTEXT(TT4 AND 四,四,'0.382'),COLOR208FFF;DRAWTEXT(TT4 AND 五,五,'0.191'),COLOR208FFF;DRAWTEXT(TT4 AND 低,低*1.009,'底'),COLOR208FFF;{程序化交易 www.cxh99.com }
黄金狙击选股A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A4:=SMA(A3,3,1);A5:=SMA(A4,3,1);A6:=3*A4-2*A5;A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));跟庄买进:FILTER(买=1,5);{程序化交易 www.cxh99.com }
{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容