宝塔线sar指标源码(宝塔线指标及源码)
本文目录一览:
宝塔线指标公式
可以编写达信使用的宝塔线三平底翻红条件选股公式但是你这条件很模糊,三平底如果大于三次是否符合条件,再有这个翻红是仅最后一根k线有红色就可以是吗还是有其他具体条件这要说清楚了才好编写例如下图效果。
钱龙旗舰版宝塔线(TOWER)指标的源代码
【宝塔线】TOWER——指标源码
B0:=REF(c-0,2);B1:=REF(c,1);B2:=REF(c,2);B3:=REF(c,3);B4:=REF(c,4);
CMAX:=MAX(MAX(MAX(c,B1),B2),B3);CMIN:=MIN(MIN(MIN(c,B1),B2),B3);
STICKLINE(c=CMAX AND (B1=B2 OR B1=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND c=B2 OR
B2=CMAX AND B3=CMIN AND c=B1 OR B3=CMAX AND c=B1 AND c=B2,B1,c,5,1),COLORRED ;
STICKLINE(c=CMAX AND B1=CMIN,B2,c,5,1),COLORRED;
STICKLINE(c=CMIN AND (B1
B2=CMIN AND B3=CMAX AND c
STICKLINE(B1=CMAX AND c=CMIN,B2,c,5,0),colorgreen;
STICKLINE(B1=CMIN AND c=B2 OR (B2=CMIN AND B1=B3 OR
B3=CMIN AND B1=B2) AND B2=B1,B1,B2,5,0),COLORGREEN;
STICKLINE(B1=CMAX AND cB3 OR
B3=CMAX AND B1B2) AND B2=B4 AND c
通达信 SAR指标源码
sar指标,也叫抛物线指标,基本的分析指标源码:
VAR1:=SAR(10,2,20);
S:IF(VAR1C,VAR1,DRAWNULL),COLORRED,CIRCLEDOT;
X:IF(VAR1B1:=REF(C,1);B2:=REF(C,2);
SS:=IF(CREF(C,1)ANDREF(C,1)=REF(C,2),1,IF(CREF(C,2)ANDREF(C,2)REF(C,1),2,IF(CSM:=IF(REF(SS,1)0ORREF(SS,1)0ORREF(SS,2)0ORREF(SS,3)0ORREF(SS,4)0ORREF(SS,5)0ORREF(SS,6)0ORREF(SS,7)MC:IF(REF(SS,1)0ORREF(SS,1)0,MIN(B1,B2),MAX(B1,B2))),COLORFF00FF;
STICKLINE(SS=1ORSM=1ANDSS=0,B1,C,0.8,1),COLORRED;
STICKLINE(SS=-1ORSMSTICKLINE(SS=2,B2,C,0.8,1),COLORRED;
STICKLINE(SS=-2,B2,C,0.8,0),COLORFF9000;
STICKLINE((SS=-1ORSS=-2)ANDSM0,B2,B1,0.8,1),COLORRED;
STICKLINE((SS=1ORSS=2)ANDSM