好用的飞狐主图 红线是支撑,青线是压力,K线大于(红线)支撑就买入
好用的飞狐主图源码指标:
红线是支撑,青线是压力,K线大于(红线)支撑就买入.............何时支撑没了(就变色)变成压力线了...............K线小于压力线就卖出..........................
带入指标如下:
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1: (EMA(VAR1,1)+EMA(VAR1,2)+EMA(VAR1,3)+EMA(VAR1,4))/4,colorcyan,LINETHICK1;
A2: EMA(A1,2),colorcyan,LINETHICK1;
A3: EMA(A2,2),colorcyan,LINETHICK1;
A4: EMA(A3,2),colorcyan,LINETHICK1;
A5: EMA(A4,2),colorcyan,LINETHICK1;
A6: EMA(A5,2),colorcyan,LINETHICK1;
A7: EMA(A6,2),colorcyan,LINETHICK1;
PARTLINE(A1>REF(A1,1),A1),colorred,LINETHICK1;
PARTLINE(A2>REF(A2,1),A2),colorred,LINETHICK1;
PARTLINE(A3>REF(A3,1),A3),colorred,LINETHICK1;
PARTLINE(A4>REF(A4,1),A4),colorred,LINETHICK1;
PARTLINE(A5>REF(A5,1),A5),colorred,LINETHICK1;
PARTLINE(A6>REF(A6,1),A6),colorred,LINETHICK1;
PARTLINE(A7>REF(A7,1),A7),colorred,LINETHICK1;