同花顺七宝塔公式
-
相关简介:同花顺七宝塔公式 宝塔线指标,了结合K线和其他指标运用,有效率很高。 源码 TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW)); ATR:=MA(TR1,13); VAR1:=REF(CLOSE,1)-REF(ATR,1); LSX:HHV(VAR1,13),LINETHICK1,colorliblue; LSX1:IF(C=LSX,LSX,DRAWNULL),colormagenta,LINETHICK2
-
文章来源:股海网作者:股海网发布时间:2016-02-12浏览次数:
同花顺七宝塔公式
宝塔线指标,了结合K线和其他指标运用,有效率很高。
源码
TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=MA(TR1,13);
VAR1:=REF(CLOSE,1)-REF(ATR,1);
LSX:HHV(VAR1,13),LINETHICK1,colorliblue;
LSX1:IF(C>=LSX,LSX,DRAWNULL),colormagenta,LINETHICK2;
STICKLINE(C>=LSX,O,C,2.5,1),colorred;
STICKLINE(C>=LSX AND C>=O,C,H,0,1),colorred;
STICKLINE(C>=LSX AND C>=O,O,L,0,1),colorred;
STICKLINE(C>=LSX AND C<O,O,H,0,1),colorred;
STICKLINE(C>=LSX AND C<O,C,L,0,1),colorred;
STICKLINE(C<LSX,O,C,2.5,1),colorgreen;
STICKLINE(C<LSX AND C>O,C,H,0,1),colorgreen;
STICKLINE(C<LSX AND C>O,O,L,0,1),colorgreen;
STICKLINE(C<LSX AND C<O,O,H,0,1),colorgreen;
STICKLINE(C<LSX AND C<O,C,L,0,1),colorgreen;