炒股指标

显示 收起

通达信红持股绿持币买卖指标公式

通达信红持股绿持币买卖指标公式:

周期:=13;
过滤:=5;
 VAR1:=MA(CLOSE,5);
 VAR2:=MA(CLOSE,13);
 VAR3:=MA(CLOSE,21);
 VAR4:=MA(CLOSE,34);
 VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;
 VAR6:=(VAR5-REF(VAR5,周期))/REF(VAR5,周期)*100;
 VAR7:=(VAR5-REF(VAR5,周期))/REF(VAR5,周期)*100;
 VAR8:=EMA(VAR6,过滤);
持币: STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR8,VAR6,VAR8*3.9618,5,1), COLORGREEN;
底部: STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6<VAR8,
 VAR6*3.9618,0,5,0),COLORFF00FF;
转强: STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,
 VAR8*3.9618,0,5,0),COLORLIRED;
买点: STICKLINE(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0,VAR6,
 VAR8*3.9618,10,0),COLOR33AACC;
观望: STICKLINE(VAR6<REF(VAR6,1) AND VAR8>REF(VAR8,1) AND VAR6>0,VAR6,VAR8*5.5,8.9,0),COLORWHITE ;
持股: STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6*3.9618,0,5,0), COLORRED;

通达信红持股绿持币买卖指标公式实例图解:

通达信红持股绿持币买卖指标公式