七宝塔
宝塔线指标,了结合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;