寻求大智慧一技术指标公式 50
如果实在没有这完整的指标公式不要紧,我看中这大智慧的“TS诊断”指标是它的重要高低点的压力与支撑的趋势线,所以如果没有大神们也可以帮我编写这指标的重要高低点的支撑和压力趋势线,至于那买卖点和数字不是很在意,当然如果真有这指标的公式最好不过了。谢谢各位了,谢谢!
可以编写想我这样的近期压力支撑趋势线和重要高低点。谢谢
! 展开
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
前期高位:REF(C,BARSLAST(HD)),COLOR00FF00,POINTDOT;
前期低位:REF(C,BARSLAST(LD)),COLOR00FF00,POINTDOT;
STICKLINE(C,前期高位,前期高位,8,0),COLORFF5020;
STICKLINE(C,前期低位,前期低位,8,0),COLORWHITE;
DRAWNUMBER(C>=20 AND C=前期高位,H+(H*0.07),C)COLORYELLOW;
DRAWNUMBER(C<=19.99 AND C=前期高位,H+(H*0.04),C)COLORYELLOW;
DRAWNUMBER(C>=20 AND C=前期低位,L-(L*0.07),C)COLORRED;
DRAWNUMBER(C<=19.99 AND C=前期低位,L-(L*0.04),C)COLORRED;
STICKLINE(C>=20 AND C=前期高位,H+(H*0.005),H+(H*0.07),0,0)COLORFF5020;
STICKLINE(C<=19.99 AND C=前期高位,H+(H*0.003),H+(H*0.04),0,0);
STICKLINE(C<=19.99 AND C=前期低位,L-(L*0.003),L-(L*0.04),0,0);
STICKLINE(C>=20 AND C=前期低位,L-(L*0.005),L-(L*0.07),0,0);
STICKLINE(O>C,C,O,3,0)COLOR001000;
STICKLINE(O>C,C,O,2.5,0)COLOR001500;
STICKLINE(O>C,C,O,2,0)COLOR002000;
STICKLINE(O>C,C,O,1.5,0)COLOR002500;
STICKLINE(O>C,C,O,1,0)COLOR003000;
STICKLINE(O>C,C,O,0.5,0)COLOR003500;
STICKLINE(O>C,C,O,0.3,0)COLOR004000;
STICKLINE(O>C,C,O,0.1,0)COLOR004500;
STICKLINE(O>C,O,H,0,0)COLOR009900;
STICKLINE(O>C,L,C,0,0)COLOR009900;
STICKLINE(C>=O,C,O,3,0)COLOR010020;
STICKLINE(C>=O,C,O,2.5,0)COLOR000030;
STICKLINE(C>=O,C,O,2,0)COLOR000040;
STICKLINE(C>=O,C,O,1.5,0)COLOR000050;
STICKLINE(C>=O,C,O,1,0)COLOR000060;
STICKLINE(C>=O,C,O,0.5,0)COLOR000070;
STICKLINE(C>=O,C,O,0.3,0)COLOR000075;
STICKLINE(C>=O,C,O,0.1,0)COLOR000078;
STICKLINE(C>=O,C,H,0,0)COLOR000099;
STICKLINE(C>=O,O,L,0,0)COLOR000099;
{五一快乐,很高兴能回答您的问题,也祝您投资顺利}
楼主不行哦,错误未定义的变量什么什么的。您确定是大智慧指标公式?
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
前期高位:REF(C,BARSLAST(HD)),COLOR00FF00,POINTDOT;
前期低位:REF(C,BARSLAST(LD)),COLOR00FF00,POINTDOT;
STICKLINE(C,前期高位,前期高位,8,0),COLORFF5020;
STICKLINE(C,前期低位,前期低位,8,0),COLORWHITE;
{不好意思,之前是通达信的源码,修改了一下,这个是大智慧的,你再试下吧,希望能帮带你,也提前预祝您五一快乐}
2024-06-26 广告