%> 同花顺缠论分段主图指标公式_股票学习视频教程网
同花顺缠论分段主图指标公式 4356

KU1:=IF(HIGH=HHV(HIGH,3),1,0);

KD1:=IF(LOW=LLV(LOW,3),1,0);

UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0

AND KU1=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1,2)=1

AND REF(KU1,1)=0 AND KU1=0)));

DL:=IF(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(KD1,2)=1

AND REF(KD1,1)=0 AND KD1=0)));

HV:=H>UL AND H>REF(H,1) ;

LV:=L<DL AND L<REF(L,1) ;

GP:=BARSLAST(HV);

DP:=BARSLAST(LV);

IP:=IF(GP=0,DP,GP)>3;

HV1:=HV AND IP AND H>=HHV(H,BARSLAST(LV));

LV1:=LV AND IP AND L<=LLV(L,BARSLAST(HV));

DRAWLINE(LV1,LOW,HV1, HIGH,0),coloryellow,LINETHICK2;

DRAWLINE(HV1,HIGH,LV1, LOW,0),colormagenta,LINETHICK2;

MA$5:MA(CLOSE,5);



 

{股票教程网-http://bkqg.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}