通达信龙年大发主图指标 源码

VAR1:=(100 - ((70 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((70 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((80 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
{DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),1);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),2);}
分界线:MA(CLOSE,5),COLORYELLOW;
DRAWICON(CROSS(分界线,C),H,2);
STICKLINE(C>=分界线 AND C>=O,C,O,3,1),COLORRED;
STICKLINE(C>=分界线 AND C>=O,H,L,0,1),COLORRED;
STICKLINE(C>=分界线 AND C<O,C,O,3,1),COLORRED;
STICKLINE(C>=分界线 AND C<O,O,H,0,1),COLORRED;
STICKLINE(C>=分界线 AND C<O,C,L,0,1),COLORRED;
STICKLINE(C<分界线 AND C>O,C,O,3,1),COLORFFFF00;
STICKLINE(C<分界线 AND C<=O,C,O,3,1),COLORFFFF00;
STICKLINE(C<分界线 AND C<=O,H,L,0,1),COLORFFFF00;
STICKLINE(C<分界线 AND C>O,C,H,0,1),COLORFFFF00;
STICKLINE(C<分界线 AND C>O,O,L,0,1),COLORFFFF00;
MA10:MA(CLOSE,10),COLORYELLOW,LINETHICK2;
AA:=MA10>=REF(MA10,1);
BB:=CLOSE>MA10*1.004;
DRAWICON(AA AND BB,MA10,1);
CC:=MA10<=REF(MA10,1);
DD:=COUNT(CLOSE<=MA10*0.996,2)=2;
DRAWICON(CC AND DD,MA10,2);
VL:=REF(LOW,1);
VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;
VAR14:=MA(VAR12,13);
VAR15:=LLV(LOW,34);
VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);
VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);
VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9;
T:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),20);
DRAWTEXT(T,LOW-0.4,'←Z注意变盘'),COLORFF00FF;
DRAWTEXT(T,LOW-0.2,'GG'),COLORFF00FF;
TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR9:=MA(TR1,22);
止损线: HHV(H-3*ATR9,22),COLORBLUE,DOTLINE;
VR2:=HHV(HIGH,70);
VR3:=HHV(HIGH,20);
红: VR2*0.83,COLORRED;
DRAWTEXT(ISLASTBAR,红,'红'),COLORRED;
绿: VR3*0.91,COLORGREEN;
DRAWTEXT(ISLASTBAR,绿,'绿'),COLORGREEN;
DRAWTEXT(CROSS(绿,止损线),L*0.99,'↖出击'),COLORGREEN;
DRAWICON(CROSS(C,红),L,9);
DRAWICON(CROSS(C,绿),L,11);




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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