1.通达信 SAR指标源码
通达信 SAR指标源码
sar指标,指指标也叫抛物线指标,标计基本的算源算法分析指标源码:
VAR1:=SAR(,2,指指标);
S:IF(VAR1>C,标计VAR1,算源算法hashmap 源码分析DRAWNULL),指指标COLORRED,标计CIRCLEDOT;
X:IF(VAR1B1:=REF(C,算源算法1);B2:=REF(C,指指标2);
SS:=IF(C>REF(C,标计1)ANDREF(C,算源算法1)>=REF(C,指指标对话源码2),标计1,算源算法IF(CREF(C,2)ANDREF(C,2)>REF(C,1),uinapp源码2,IF(CSM:=IF(REF(SS,1)>0ORREF(SS,1)0ORREF(SS,2)0ORREF(SS,3)0ORREF(SS,patch 源码4)0ORREF(SS,5)0ORREF(SS,6)0ORREF(SS,7)MC:IF(REF(SS,1)>0ORREF(SS,1)0,souce 源码MIN(B1,B2),MAX(B1,B2))),COLORFFFF;
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),COLORFF;
STICKLINE((SS=-1ORSS=-2)ANDSM>0,B2,B1,0.8,1),COLORRED;
STICKLINE((SS=1ORSS=2)ANDSM