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

宝塔线翻红选股公式源码 成功率83.58% 及布林+宝塔线副图指标[同花顺公式]

相关标签: 宝塔线三平底翻红 、 宝塔线三平底翻红公式 、 宝塔线源码 、 宝塔线红绿指标源码 、 宝塔线源码 红线持股 、 大智慧宝塔线源码 、 宝塔线指标源码 、 宝塔线源码 多空 、 宝塔线 、

 

 

//宝塔线翻红选股公式源码 成功率83.58%//


QJJ:=(VOL/(((HIGH-LOW)*2)-ABS((CLOSE-OPEN))));
XVL:=(IF((CLOSE>OPEN),(QJJ*(HIGH-LOW)),IF((CLOSE<OPEN),(QJJ*((HIGH-OPEN)+(CLOSE-LOW))),
(VOL/2)))+IF((CLOSE>OPEN),(0-(QJJ*((HIGH-CLOSE)+(OPEN-LOW)))),
IF((CLOSE<OPEN),(0-(QJJ*(HIGH-LOW))),(0-(VOL/2)))));
ZLL:=(VOL/CAPITAL);
HSL:=((XVL/20)/1.15);
攻击流量:=(((HSL*0.55)+(ref(HSL,1)*0.33))+(ref(HSL,2)*0.22));
LLJX:=EMA(攻击流量,3);
B1:=ref(C,1);B2:=ref(C,2);
SS:=IF(C>ref(C,1) AND ref(C,1)>=ref(C,2),1,IF(C<ref(C,1) AND ref(C,1)<=ref(C,2),-1,
IF(C>ref(C,2) AND ref(C,2)>ref(C,1),2,IF(C<ref(C,2) AND ref(C,2)<ref(C,1),-2,0))));
SM:=IF(ref(SS,1)<>0,ref(SS,1),IF(ref(SS,2)<>0,ref(SS,2),IF(ref(SS,3)<>0,ref(SS,3),
IF(ref(SS,5)<>0,ref(SS,5),IF(ref(SS,6)<>0,ref(SS,6),IF(ref(SS,7)<>0,ref(SS,7),0))))));
DK:=IF(ref(SS,1)<>0,B2,IF(SM>0,MIN(B1,B2),MAX(B1,B2)));
C>ref(C,1)*1.035 AND C>AMOUNT/100/V AND COUNT(CROSS(LLJX,0),2)=1 AND CROSS(C,DK) //本文来至程序化交易网 www.cxh99.com //
AND C>SAR(10,2,20) AND C>MA(C,14) AND C>MA(C,20)
AND BETWEEN(V/CAPITAL,0.01,0.08) AND CAPITAL<=2000000;

 



//布林+宝塔线////副图//
MID :MA(CLOSE,20);
UPPER: MID + 2*STD(CLOSE,20);
LOWER: MID - 2*STD(CLOSE,20);
B1:=ref(C,1);B2:=ref(C,2);
SS:=IF(C>ref(C,1) AND ref(C,1)>=ref(C,2),1,IF(C<ref(C,1)
AND ref(C,1)<=ref(C,2),-1,IF(C>ref(C,2)
AND ref(C,2)>ref(C,1),2,IF(C<ref(C,2)
AND ref(C,2)<ref(C,1),-2,0))));
SM:=IF(ref(SS,1)<>0,ref(SS,1),IF(ref(SS,2)<>0,ref(SS,2),IF(ref(SS,3)<>0,ref(SS,3),
IF(ref(SS,5)<>0,ref(SS,5),IF(ref(SS,6)<>0,ref(SS,6),IF(ref(SS,7)<>0,ref(SS,7),0))))));
STICKLINE(SS=1 OR SM>=1 AND SS=0,B1,C,7,1),COLORRED;
STICKLINE(SS=-1 OR SM<=-1 AND SS=0,B1,C,7,0),COLORGREEN;
STICKLINE(SS=2,B2,C,7,1),COLORRED;
STICKLINE(SS=-2,B2,C,7,0),COLORGREEN;
STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,7,1),COLORRED;
STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,7,0),COLORGREEN;
 

 


//薛斯通道+宝塔线////副图//


UPPERL: MA(HIGH,30)*1.15;
UPPERS: MA(HIGH,3)*1.03;
LOWERS: MA(LOW,3)*0.97;
LOWERl: MA(LOW,30)*0.85;
B1:=ref(C,1);B2:=ref(C,2);
SS:=IF(C>ref(C,1) AND ref(C,1)>=ref(C,2),1,IF(C<ref(C,1)
AND ref(C,1)<=ref(C,2),-1,IF(C>ref(C,2)
AND ref(C,2)>ref(C,1),2,IF(C<ref(C,2) AND ref(C,2)<ref(C,1),-2,0))));
SM:=IF(ref(SS,1)<>0,ref(SS,1),IF(ref(SS,2)<>0,ref(SS,2),
IF(ref(SS,3)<>0,ref(SS,3),IF(ref(SS,5)<>0,ref(SS,5),
IF(ref(SS,6)<>0,ref(SS,6),IF(ref(SS,7)<>0,ref(SS,7),0))))));
STICKLINE(SS=1 OR SM>=1 AND SS=0,B1,C,7,1),COLORRED;
STICKLINE(SS=-1 OR SM<=-1 AND SS=0,B1,C,7,0),COLORGREEN;
STICKLINE(SS=2,B2,C,7,1),COLORRED;
STICKLINE(SS=-2,B2,C,7,0),COLORGREEN;
STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,7,1),COLORRED;
STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,7,0),COLORGREEN;

//内容来至程序化交易网 CXH99.COM//


 

 

 

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

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

 


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

相关文章

    没有相关内容