手机端
当前位置:爱约股 > 通达信 > 通达信春江水暖指标公式

通达信春江水暖指标公式

DRAWBAND(10,RGB(255,255,0),0,RGB(0,0,0));
DRAWBAND(20,RGB(253,190,0),10,RGB(0,0,0));
DRAWBAND(30,RGB(255,119,53),20,RGB(0,0,0));
DRAWBAND(40,RGB(255,0,0),30,RGB(0,0,0));
DRAWBAND(50,RGB(206,0,0),40,RGB(0,0,0));
DRAWBAND(60,RGB(206,0,0),50,RGB(0,0,0));
DRAWBAND(70,RGB(206,0,0),60,RGB(0,0,0));
DRAWBAND(80,RGB(206,0,0),70,RGB(0,0,0));
{ 爱约股_通达信股票指标公式}
T1:=100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
T2:=REF(CLOSE,1);
T3:=SMA(MAX(CLOSE-T2,0),20,1)/SMA(ABS(CLOSE-T2),20,1)*100;
T4:=BARSLAST(T3>T1);
T5:=BARSLAST(T3<T1);
春江:MA(IF(T3<T1,T3-REF(T3,T4),0),2),COLORFF9900;
水暖:MA(ABS(IF(T3>T1,T1-REF(T1,T5),0)),2),COLORRED;
DRAWBAND(80,RGB(0,0,0),水暖,RGB(255,255,255));
DRAWBAND(0,RGB(0,153,248),春江,RGB(0,153,248));

 

通达信春江水暖指标公式

分享至:

相关推荐