您现在的位置:程序化交易>> 股票公式>> 同花顺>> 同花顺公式>>正文内容

不会骗钱的趋势主图抄盘主图指标公式[同花顺公式]

相关标签: 通达信最贵的指标公式 、 通达信八卦阵主图指标 、 通达信最贵最准的指标 、 var 1通达信啥意思 、 背离解盘主图源码 、 通达信卖出指标 、

 

不会骗钱的抄盘主图,K线站上趋势线上方且变红就是买入信号,K线下跌到趋势线下方就是卖出信号。跟着趋势走永远不亏钱。

 

 

原理解析:


 

 来源:程序化99( WWW.CXH99.COM )

源码:

 

 

MA1:MA(C,5),colowhite,LINETHICK1;K1:=BACKSET(MA1<REF(MA1,1),2);Y:=(MA(C,5)-MA(C,30))/MA(C,5)*100;YY1:=C>MA(C,5) AND OPEN<MA(C,5);YY3:=C>MA(C,10) AND OPEN<MA(C,10);YY5:=C>MA(C,30) AND OPEN<MA(C,30);DRAWTEXT(YY1 AND YY5 AND YY3,LOW*0.97,'双'),colorred;V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);HHY1:=REF(EMA(V1,3),1);VAR6:=EMA(CLOSE,5);VAR7:=EMA(CLOSE,10);VAR8:=EMA(CLOSE,20);VAR9:=EMA(CLOSE,30);VARA:=EMA(CLOSE,60);VARB:=EMA(CLOSE,90);VARC:=EMA(CLOSE,125);VARD:=EMA(CLOSE,250);VAR10:=1.809*LLV(LOW,250);VAR11:=MA(CLOSE,10)-EMA(CLOSE,10)*100;VAR12:=MA(VAR11,5); VAR13:=3*(VAR12-VAR11);VAR14:=((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*200-100)/2-REF(CLOSE,5);VAR15:=SMA(SMA(VAR14,5,1),5,1);VAR16:=MA(MA(VAR15,5),5);VAR17:=3*VAR16-5*VAR15;VAR18:=EMA(VAR17,10);VAR19:=MA(CLOSE,20)/MA(CLOSE,20)-REF(CLOSE,20)/CLOSE*100;VAR1A:=DMA(SMA(EMA(VAR19,5),5,1),VOL/REF(VOL,5)); VAR1B:=SMA(EMA(VAR19,10),5,1);VAR1C:=(-100)*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));VAR1D:=(-100)*(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8));VAR1E:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);VAR1F:=HIGH-REF(HIGH,1);VAR20:=REF(LOW,1)-LOW;VAR21:=SMA(IF(VAR1F>0 AND VAR1F>VAR20,VAR1F,0),14,1);VAR22:=SMA(IF(VAR20>0 AND VAR20>VAR1F,VAR20,0),14,1);VAR23:=VAR21*100/VAR1E;VAR24:=VAR22*100/VAR1E;VAR25:=SMA(ABS(VAR24-VAR23)/(VAR24+VAR23)*100,14,1);VAR26:=(VAR25+REF(VAR25,6))/2;N:=5;V1:=MA(HIGH,30)*1.15;V2:=MA(HIGH,3)*1.03;V3:=MA(LOW,3)*0.97;V4:=MA(LOW,30)*0.85;GET:ZIG(3,N),colorblue;;DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.99,1);DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),H,2);Var11:=ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2)AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);Var12:=ZIG(3,6)<REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2)AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);Var13:=ZIG(3,22)>REF(ZIG(3,22),1)AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);Var14:=ZIG(3,22)<REF(ZIG(3,22),1)AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);Var15:=ZIG(3,51)>REF(ZIG(3,51),1)AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2)AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);Var16:=ZIG(3,51)<REF(ZIG(3,51),1)AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2)AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);Var17:=ZIG(3,72)>REF(ZIG(3,72),1)AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2)AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);Var18:=ZIG(3,72)<REF(ZIG(3,72),1)AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2)AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);Var19:=EMA(C,2)-EMA(C,150);X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;colorgreen;上开:=O;上收:=C;上高:=H;上低:=L;JJ:=(上开+上高+上低)/3;买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);colorwhite;A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);Hm0:=EMA(A1,5);A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;qs0:=(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2));;N:=5;L1:=LLV(L,10);爆发点:=(DCLOSE-REF(C,1))/REF(C,1)*100;XG:=CROSS(爆发点,20) OR CROSS(爆发点,18);L3:IF(XG,O,L1*0.999),coloryellow;DRAWTEXT(XG,L3,'∠暴'),colormagenta;买线:=ZIG(3,10);卖线:=MA(买线,2);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);DRAWTEXT(bu,L*0.99,'▲'),LINETHICK2,COLOR00FFFF;V10:=PEAKBARS(3,15,1)<10;V12:=IF(V10=1,50,0);V9:=TROUGHBARS(3,15,1)<10;V11:=IF(V9=1,50,0);DRAWTEXT(IF( IF(V11=50,50,0)>REF(IF(V11=50,50,0),1),L,0),L*0.96,'↖底 '),colorblue;B1:=MA(C,1);趋势1:SMA(SMA(SMA(B1,2,1),2,1),2,1),colorred,LINETHICK;趋势2:=MA(趋势1,3),ColorFF00FF,LINETHICK0;停损下限:IF(LLV(MA(趋势1,2),2)<趋势1,LLV(MA(趋势1,2),2),趋势1);iii:=EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW+CLOSE+OPEN)/3,27),1);ggg:=EMA((LOW+CLOSE+OPEN)/3,28)<REF(EMA((LOW+CLOSE+OPEN)/3,27),1);PARTLINE(停损下限,iii,RGB(255,0,0),ggg,RGB(0,255,0)),LINETHICK3;压力:=HHV(MA(趋势1,2),2),coloryellow;Var11:=ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2)AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);Var12:=ZIG(3,6)<REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2)AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);Var13:=ZIG(3,22)>REF(ZIG(3,22),1)AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);Var14:=ZIG(3,22)<REF(ZIG(3,22),1)AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);Var15:=ZIG(3,51)>REF(ZIG(3,51),1)AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2)AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);Var16:=ZIG(3,51)<REF(ZIG(3,51),1)AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2)AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);Var17:=ZIG(3,72)>REF(ZIG(3,72),1)AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2)AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);Var18:=ZIG(3,72)<REF(ZIG(3,72),1)AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2)AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);Var19:=EMA(C,2)-EMA(C,150);买点1:=(Var11+Var13+Var15+Var17);买点2:=(Var13+Var15+Var17);卖点1:=(Var12+Var14+Var16+Var18);卖点2:=(Var14+Var16+Var18);STICKLINE( 买点1>0 ,H,L, 10,1),colormagenta,linethick1;STICKLINE( 买点1>0,O,C,6,0),colormagenta,linethick1;STICKLINE( 买点2>0 ,H,L, 10,1),colormagenta,linethick1;STICKLINE( 买点2>0,O,C,6,0),colormagenta,linethick1;STICKLINE( 卖点1>0,H,L, 11,5),coloryellow,linethick1;STICKLINE( 卖点1>0,O,C,6,0),coloryellow,linethick1;STICKLINE( 卖点2>0,H,L, 11,5),coloryellow,linethick1;STICKLINE( 卖点2>0,O,C,6,0),coloryellow,linethick1;DRAWTEXT(卖点2>0, H,'顶'),coloryellow,linethick3;DRAWTEXT(买点2>0, L,'底'),COLORFF00FF,linethick3;

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 1145508240  点击这里给我发消息进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容