通达信财神到副图指标源码



{9买卖指标}
VAR01:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR02:=HIGH-REF(HIGH,1);
VAR03:=REF(LOW,1)-LOW;
VAR04:=SUM(IF(VAR02>0 AND VAR02>VAR03,VAR02,0),25);
VAR05:=SUM(IF(VAR03>0 AND VAR03>VAR02,VAR03,0),25);
VAR06:=VAR04*100/VAR01;
VAR07:=VAR05*100/VAR01;
VAR08:=MA(ABS(VAR07-VAR06)/(VAR07+VAR06)*100,15);
VAR09:=(VAR08+REF(VAR08,15))/2;
A:=(VAR07>VAR06 AND VAR07>25 AND VAR06<25);
B:=ZIG(3,50/5)*100,COLORRED,LINETHICK2;
G:=MA(B,2),COLORGREEN,LINETHICK2;
DD:=CROSS(B,G)*1000,COLORRED;
W:=CROSS(G,B)*1000,COLORBLUE;
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
VAR10:=F AND F<8;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
MM:=A AND DD AND VAR10 AND VAR14 ;
DRAWICON(W=1000,10,19);
DRAWICON(DD=1000,10,23); 


VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR301:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR301,5);
操盘:=3*VAR301-2*VAR400;
A111:CROSS(操盘,VAR301) AND VAR301<2.1 AND C>O;
STICKLINE(A111,30,0,4,0),COLOR770077;
STICKLINE(A111,30,0,3,0),COLOR990099;
STICKLINE(A111,30,0,2,0),COLORBB00BB;
STICKLINE(A111,30,0,1,0),COLORDD00DD;
STICKLINE(A111,30,0,0.3,0),COLORFF00FF;
DRAWTEXT(A111,36,'财神到'),COLORYELLOW;


VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; 
K55:=SMA(VAR55,3,1); 
D55:=SMA(K55,3,1); 
J55:=SMA(D55,3,1);
TJ1:=D55>=REF(D55,1) AND REF(D55,1)<REF(D55,2);


VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; 
K34:=SMA(VAR34,3,1); 
D34:=SMA(K34,3,1); 
J34:=SMA(D34,3,1);
TJ2:=D34>=REF(D34,1) AND REF(D34,1)<REF(D34,2);


VAR9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; 
K9:=SMA(VAR9,3,1); 
D9:=SMA(K9,3,1); 
J9:=SMA(D9,3,1);
TJ3:=D9>=REF(D9,1) AND REF(D9,1)<REF(D9,2);
VAR3:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100; 
K3:=SMA(VAR3,3,1); 
D3:=SMA(K3,3,1); 
J3:=SMA(D3,3,1);
TJ4:=D3>=REF(D3,1) AND REF(D3,1)<REF(D3,2);
XG:=TJ2 AND TJ3 AND TJ4 AND TJ1;
STICKLINE(XG,0,50,3,0),COLOR00FFFF;
STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,25,0,3,0),COLOR00FFFF;



未来函数检测结果如下:
该公式包含未来函数:ZIG
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图