人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

您現在的位置:程序化交易>> 股票公式>> 通達信>> 通達信公式>>正文內容

發現大黑馬指標源碼 飛狐 通達信通用[通達信公式]

  • 飛狐源碼:
    [公式源碼]發現黑馬——飛狐解盤版 , 請老師改通達信公式!



    input:N1(126,1,1260);
    Var3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
    Var4:=(CLOSE-LLV(CLOSE,N1))/(HHV(CLOSE,N1)-LLV(CLOSE,N1))*100;
    Var5:=EMA(CLOSE,2)-EMA(CLOSE,150);
    Var6:=EMA(Var5,100);
    Var7:=2*(Var5-Var6);
    Var8:=POW(Var7,3)*0.1+POW(Var7,1);
    Var9:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
    VarA:=EMA(Var9*0.97,3);
    VarB:=(HIGH+LOW+CLOSE)/3;
    VarC:=(VarB-MA(VarB,14))/(0.015*AVEDEV(VarB,14));
    黑馬線: IF(YEAR<2008 AND Var7>0.1,Var8,0)*5,stick ,linethick2 ;
    VarD:=LLV(HIGH,240);
    VarE:=100*(CLOSE-VarD)/VarD;
    VarF:=AMOUNT/VOL;
    Var10:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);
    Var11:=INDEXC;
    Var12:=MA(Var11,5);
    Var13:=MA(Var11,20);
    Var14:=MA(Var11,30);
    Var15:=Var14>Var12*1.08 AND Var13>Var12*1.055;
    Var16:=Var12>Var11*1.03 AND Var13>Var11*1.13;
    Var17:=Var16;
    Var18:=IF(FILTER(Var10<6,5)=1,1,0);
    發現: (Var18 AND VarE<-2.5 AND Var3<5 AND Var4=0)*60;
    Var19:=Var10<6 AND Var17;
    黑馬: IF(FILTER(Var19,1)=1,1,0)*80,colorblue , ;
    大黑馬: Var19 AND Var18*80,colorblue, ;
    操盤手: Var4;
    Var1A:=CROSS(黑馬線,2);
    Var1B:=CROSS(黑馬線,4);
    莊拉: IF(FILTER((Var1A OR Var1B) AND Var4<40 AND Var3<40,5)=1,35,0),colorred;
    Var1C:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
    Var1D:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
    Var1E:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
    Var1F:=REF(CLOSE,1);
    Var20:=SMA(MAX(CLOSE-Var1F,0),5,1)/SMA(ABS(CLOSE-Var1F),5,1)*100;
    Var21:=(HIGH+LOW+CLOSE)/3;
    Var22:=(Var21-MA(Var21,14))/(0.015*AVEDEV(Var21,14));
    Var23:=(Var1C>=-15.8 AND Var1C<=-12.2 AND Var1D<=-20.8 AND Var1E<=-27.5 AND Var20<=11.7 AND Var22<=-145)*100;
    Var24:=Var4=0;
    Var25:=Var4=100;
    STICKLINE(Var23>0,90,100,5,0);
    STICKLINE(Var24>0,-3,-9,1,0),colorred ,linethick3;
    STICKLINE(Var25>0,101,105,1,0),linethick3 ,colorgreen ;
    EXPLAIN(Var23>0,'\發現大黑馬加把安全鎖,全部虧損問它要\');
    EXPLAIN(發現>0,'\短線黑馬2.5%\') ;
    EXPLAIN(黑馬>0,'\黑馬發現10%\');
    EXPLAIN(大黑馬,'\獲利10%以上\');
    EXPLAIN(HIGH>=HHV(HIGH,20), '\創20天新高\');
    0,colorff8833 ;
    100,colorblue ;





     

  • 通達信:

     

    {INPUT:N1(126,1,1260);}
    VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
    VAR4:=(CLOSE-LLV(CLOSE,N1))/(HHV(CLOSE,N1)-LLV(CLOSE,N1))*100;
    VAR5:=EMA(CLOSE,2)-EMA(CLOSE,150);
    VAR6:=EMA(VAR5,100);
    VAR7:=2*(VAR5-VAR6);
    VAR8:=POW(VAR7,3)*0.1+POW(VAR7,1);
    VAR9:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
    VARA:=EMA(VAR9*0.97,3);
    VARB:=(HIGH+LOW+CLOSE)/3;
    VARC:=(VARB-MA(VARB,14))/(0.015*AVEDEV(VARB,14));
    黑馬線: IF(YEAR<2008 AND VAR7>0.1,VAR8,0)*5,STICK ,LINETHICK2 ;
    VARD:=LLV(HIGH,240);
    VARE:=100*(CLOSE-VARD)/VARD;
    VARF:=AMOUNT/VOL;
    VAR10:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);
    VAR11:=INDEXC;
    VAR12:=MA(VAR11,5);
    VAR13:=MA(VAR11,20);
    VAR14:=MA(VAR11,30);
    VAR15:=VAR14>VAR12*1.08 AND VAR13>VAR12*1.055;
    VAR16:=VAR12>VAR11*1.03 AND VAR13>VAR11*1.13;
    VAR17:=VAR16;
    VAR18:=IF(FILTER(VAR10<6,5)=1,1,0);
    發現: (VAR18 AND VARE<-2.5 AND VAR3<5 AND VAR4=0)*60;
    VAR19:=VAR10<6 AND VAR17;
    黑馬: IF(FILTER(VAR19,1)=1,1,0)*70,COLORBLUE , ;
    大黑馬: (VAR19 AND VAR18)*80,COLORBLUE, ;
    操盤手: VAR4;
    VAR1A:=CROSS(黑馬線,2);
    VAR1B:=CROSS(黑馬線,4);
    莊拉: IF(FILTER((VAR1A OR VAR1B) AND VAR4<40 AND VAR3<40,5)=1,35,0),COLORRED;
    VAR1C:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
    VAR1D:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
    VAR1E:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
    VAR1F:=REF(CLOSE,1);
    VAR20:=SMA(MAX(CLOSE-VAR1F,0),5,1)/SMA(ABS(CLOSE-VAR1F),5,1)*100;
    VAR21:=(HIGH+LOW+CLOSE)/3;
    VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
    VAR23:=(VAR1C>=-15.8 AND VAR1C<=-12.2 AND VAR1D<=-20.8 AND VAR1E<=-27.5 AND VAR20<=11.7 AND VAR22<=-145)*100;
    VAR24:=VAR4=0;
    VAR25:=VAR4=100;
    STICKLINE(VAR23>0,90,100,5,0);
    STICKLINE(VAR24>0,-3,-9,1,0),COLORRED ,LINETHICK3;
    STICKLINE(VAR25>0,101,105,1,0),LINETHICK3 ,COLORGREEN ;
    DRAWTEXT(VAR23>0,1,'發現大黑馬加把安全鎖,全部虧損問它要');
    DRAWTEXT(發現>0,8,'短線黑馬2.5%') ;
    DRAWTEXT(黑馬>0,16,'黑馬發現10%');
    DRAWTEXT(大黑馬,20,'獲利10%以上');
    DRAWTEXT(HIGH>=HHV(HIGH,20),25, '創20天新高');
    0,COLORFF8833 ;
    100,COLORBLUE ;

     

 

有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友

可聯系技術人員 QQ: 262069696  點擊在線交流進行 有償 編寫!不貴!點擊查看價格!

 


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
  主站蜘蛛池模板: 亚洲一区免费在线 | 欧美成人午夜不卡在线视频 | 国产在线视频国产永久视频 | 免费国产之a视频 | 成人a视频高清在线观看 | 色色色色色色网 | 一级一片在线播放在线观看 | 九色欧美| 亚洲综合在线观看一区www | 黄色毛片在线看 | 欧美成人高清 | 男女啪啪搓胸gif动态图 | bl高h肉边走边做 | 免费一级毛片视频 | 免费特黄一级欧美大片在线看 | 一级做a爱免费观看视频 | 中文字幕天堂 | 狠狠大日本亚洲香蕉亚洲 | 国产成+人+综合+亚洲 欧美 | yin乱的日子小说 | 亚洲欧美日韩不卡一区二区三区 | 亚洲狼人香蕉香蕉在线28 | 男女激情视频网站 | 久久国产精品高清一区二区三区 | 欧美性free极品另类 | 福利视频网站 | 18视频在线观看网站 | 99在线免费 | 亚洲精品人成网线在线 | 成人国产精品高清在线观看 | 好看的看黄a大片爽爽影院 好黄好猛好爽好痛的视频 好吊爽在线播放视频 | 春意影院免费入口 | 久久精品视频免费播放 | 欧美国产成人免费观看永久视频 | 久久久国产视频 | 丝袜在线观看 | np多肉高h被强 | 色影视| 99精品国产自在现线观看 | 免费观看的黄色网址 | 免费视频成人国产精品网站 |