通达信逐匈奴复疆土指标公式
2020/5/14 18:40:43
N1:=6;N2:=2;N3:=2;XN:=23;
STICKLINE(18,70,50,999,0)COLOR205AA7;
STICKLINE(18,-70,-50,999,0)COLOR205AA7;
STICKLINE(188,50,-50,999,0)COLOR2F4F6F;
STICKLINE(18,58,62,1,0)COLOR545454;
STICKLINE(18,-58,-62,1,0)COLOR545454;
刺马栏:STICKLINE(18,3,-3,0.5,0),COLOR808080;
匈奴敢死队:IF((((EMA(100*(CLOSE-LLV(LOW,34))
/(HHV(HIGH,34) -
LLV(LOW,34)),3)
/4*(DATE<1080818))))>XN,
(((EMA(100*(CLOSE-LLV(LOW,34))
/(HHV(HIGH,34)-LLV(LOW,34)),3)
/4*(DATE<1080818)))),0 )
*(DATE<1080818),STICK,COLOR0080FF,LINETHICK1;
VAR1:=MA(CLOSE,27);
VAR2:=(CLOSE-VAR1)/VAR1*100;
VARA:=MA(VAR2,2);
VARB:=BARSLAST(CROSS(-10,VARA)=1);
VARC:=BARSLAST(CROSS(VARA,10)=1);
VARD:=VARA<-10 AND VARB>3;
伏击地:IF(VARD,VARA,0)STICK,COLORD19275,LINETHICK1;
A1:=MA(CLOSE,20);
A2:=(CLOSE>MA(CLOSE,5));
A3:=(MA(CLOSE,5)>MA(CLOSE,10));
A4:=(CLOSE>MA(CLOSE,10));
A5:=(MA(CLOSE,5)>MA(CLOSE,20));
A6:=(CLOSE>MA(CLOSE,20));
A7:=REF(A1,1);
A8:=(A1 > A7);
汉军战斗力 : (((((IF(A2,10,(0 - 10)) + IF(A3,10,(0 - 10))) +
IF(A4,10,(0 - 10))) +
IF(A5,10,(0 - 10))) +
IF(A6,10,(0 - 10))) +
IF(A8,10,(0 - 10)))COLORA8A8A8,LINETHICK1;
RSV:=(((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100);
K:=(POW(SMA(RSV,N2,1),5) / POW(10,8));
D:=(POW(SMA(RSV,N3,1),5) / POW(10,10));
短兵肉搏 : ((K+ D) / 2)COLORYELLOW,LINETHICK1;
盾:0,COLOR0080FF,LINETHICK1;
军营:=(C-REF(C,1))/REF(C,1)*100;
{www.tou18.cn 投股票网-通达信公式}
汉将卫青部:SUM(军营,21)COLOR00009C,LINETHICK1;
汉将霍去病部:SMA(汉将卫青部,3,1)COLORWHITE,LINETHICK1;
汉将李息部:SMA(汉将霍去病部,3,1)COLORFF2400,LINETHICK1;
乱山横列轻胡虏:STICKLINE(汉将卫青部>汉将霍去病部,汉将李息部,汉将卫青部,1,0)
COLOR00003C;
血染征袍透甲红:STICKLINE(汉将卫青部>汉将霍去病部,汉将李息部,汉将卫青部,0,0)
COLORRED;
投股 票网 www.tou18. cn
股市公式下载推荐