您现在的位置:程序化交易>> 股票公式>> 其他>> 其他软件公式>>正文内容

趋势副图指标公式源码[其他软件公式]

相关标签: 趋势副图指标公式 、 趋势买卖主图指标 、 江恩趋势指标图作图 、 江恩趋势指标图 、 趋势付图指标 、 大盘k线副图指标公式 、 通达信副图指标波段王 、 上证指数k线副图指标 、 boll指标公式副图 、

 

 

{趋势副图指标公式源码}


VAR1:=IF(OPEN<=ref(OPEN,1),0,MAX(HIGH-OPEN,OPEN-ref(OPEN,1)));
VAR2:=IF(OPEN>=ref(OPEN,1),0,MAX(OPEN-LOW,OPEN-ref(OPEN,1)));
VAR3:=SUM(VAR1,5);
VAR4:=SUM(VAR2,5);
VAR5:=IF(VAR3>VAR4,(VAR3-VAR4)/VAR3,IF(VAR3=VAR4,0,(VAR3-VAR4)/VAR4));
VAR6:=MA(VAR5,5);
VAR8:=IF(OPEN<=ref(OPEN,1),0,MAX(HIGH-OPEN,OPEN-ref(OPEN,1)));
VAR9:=IF(OPEN>=ref(OPEN,1),0,MAX(OPEN-LOW,OPEN-ref(OPEN,1)));
VARA:=SUM(VAR8,3);
VARB:=SUM(VAR9,3);
VARC:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VARD:=MA(VARC,3);{程序化交易 www.chengxuhuajiaoyi.com }
火: BARSLAST(EMA(CLOSE,5)<ref(EMA(CLOSE,5),1)), COLORRED;
VARE:=HHV(CLOSE,2);
VARF:=BARSLAST(VARE<ref(VARE,2));
VAR10:=IF(VARF>=1,LLV(VARE,VARF),LOW);
VAR11:=VAR10+VAR10*VARF*0.5/100;
VAR12:=IF(VAR11<ref(VAR11,1),MA(LOW,3),VAR11);
VAR13:=VAR10+VAR10*(VARF-1)*1.618/100;
山: COUNT(EMA(CLOSE,5)>ref(EMA(CLOSE,5),1),5);
VAR14:=IF(OPEN<=ref(OPEN,1),0,MAX(HIGH-OPEN,OPEN-ref(OPEN,1))); {内容来至程序化交易网 CXH99.COM}
VAR15:=IF(OPEN>=ref(OPEN,1),0,MAX(OPEN-LOW,OPEN-ref(OPEN,1)));
VAR16:=SUM(VAR8,3);
VAR17:=SUM(VAR9,3);
VAR18:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VAR19:=MA(VARC,3);
买入或持股: STICKLINE(山>0,火,0,2,0), COLORRED;
VAR1A:=IF(OPEN<=ref(OPEN,1),0,MAX(HIGH-OPEN,OPEN-ref(OPEN,1)));
VAR1B:=IF(OPEN>=ref(OPEN,1),0,MAX(OPEN-LOW,OPEN-ref(OPEN,1)));
VAR1C:=SUM(VAR8,3);
VAR1D:=SUM(VAR9,3);
VAR1E:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VAR1F:=MA(VARC,3);
下跌→抛出: STICKLINE(山>0,火,山,2,1), COLORF0F000;
VAR20:=IF(OPEN<=ref(OPEN,1),0,MAX(HIGH-OPEN,OPEN-ref(OPEN,1)));
VAR21:=IF(OPEN>=ref(OPEN,1),0,MAX(OPEN-LOW,OPEN-ref(OPEN,1)));
VAR22:=SUM(VAR8,3);
VAR23:=SUM(VAR9,3);
VAR24:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VAR25:=MA(VARC,3);
观望: STICKLINE(山=0 AND 火=0,0,1,4,1), COLORBLUE;
VAR26:=IF(OPEN<=ref(OPEN,1),0,MAX(HIGH-OPEN,OPEN-ref(OPEN,1))); {内容来至程序化交易网 CXH99.COM}
VAR27:=IF(OPEN>=ref(OPEN,1),0,MAX(OPEN-LOW,OPEN-ref(OPEN,1)));
VAR28:=SUM(VAR8,3);
VAR29:=SUM(VAR9,3);
VAR2A:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VAR2B:=MA(VARC,3);
植被: STICKLINE(山<火,火,山,1,0), COLOR00FF00;
VAR2C:=IF(OPEN<=ref(OPEN,1),0,MAX(HIGH-OPEN,OPEN-ref(OPEN,1)));
VAR2D:=IF(OPEN>=ref(OPEN,1),0,MAX(OPEN-LOW,OPEN-ref(OPEN,1)));
VAR2E:=SUM(VAR8,3);
VAR2F:=SUM(VAR9,3);
VAR30:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VAR31:=MA(VARC,3);
VAR32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10;
K: SMA(SMA(VAR32,2,1),2,1),COLOR00FF00 , ;
D: SMA(SMA(SMA(VAR32,2,1),2,1),3,1), COLORYELLOW;
J: (3*SMA(SMA(VAR32,2,1),2,1)-2*SMA(SMA(SMA(VAR32,2,1),2,1),3,1)), COLORF00FF0;
VAR33:=IF(OPEN<=ref(OPEN,1),0,MAX(HIGH-OPEN,OPEN-ref(OPEN,1)));
VAR34:=IF(OPEN>=ref(OPEN,1),0,MAX(OPEN-LOW,OPEN-ref(OPEN,1)));
VAR35:=SUM(VAR8,3);
VAR36:=SUM(VAR9,3); {内容来至程序化交易网 CXH99.COM}
VAR37:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VAR38:=MA(VARC,3);
STICKLINE(ref(山,1)=0 AND 山>0,0,-1,2,0), COLORRED;
DRAWTEXT(ref(火,3)>0 AND ref(火,2)>0 AND ref(火,1)>0 AND 火=0 AND ref(火,1)>山,ref(火,1),'调整'),COLORYELLOW , ;

 

 

 

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

可联系技术人员 QQ: 262069696  点击在线交流进行 有偿 编写!不贵!点击查看价格!

 


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

相关文章

    没有相关内容