求:乾坤线指标,改为选股公式,同花顺用。

三维股票 2023-05-04 23:13 编辑:admin 128阅读

求:乾坤线指标,改为选股公式,同花顺用。

VAR1:=(HIGH+LOW+OPEN+CLOSE)/4;

VAR3:=2*EMA(LLV(VAR1,7),10)-VAR1;

黄金线:=MA(3*VAR1-2*SMA(VAR1,2,1),12),coloryellow;

乾坤线:=3*VAR3-2*SMA(VAR3,10,1),colorgreen;

X2:=C; X3:=黄金线;

XG1:CROSS(C,黄金线) AND CROSS(黄金线,乾坤线);

XG2:=CROSS(C,黄金线) OR CROSS(黄金携答旦线,乾坤线);

{只需将XG1和XG2后的= 换一下,就实现用1或者举汪用2的选辩扰择。仅供参考。}

做个记号

这个指标有两个信号,一个是橡余你在图上看到的黄色柱状,樱如正另外一个是绿脊悔色柱状。

你选怎么个选股法?

乾坤悟空指标公式

乾坤线:(C-EMA(C,21))/17+EMA(C,21),COLORYELLOW,LINETHICK2;

持股:EMA((C*2+H+L)/4,7), COLORRED,LINETHICK2;

持币:IF(持股>乾坤线 ,乾坤线,持股), COLOR00FF00,LINETHICK2;

STICKLINE((乾坤线<持股),持股-0.005,乾坤线+0.01,2,0);

STICKLINE((持股<乾坤线),持币+0.005,乾物散坤线-0.01,2,0);

DRAWTEXT(FILTER(CROSS(75,SMA(MAX(CLOSE-REF(CLOSE,1),0),8,1)/

SMA(ABS(CLOSE-REF(CLOSE,1)),8,1)*100),10),HIGH*1.05,'逃'),COLORRED;

DRAWTEXT(FILTER(CROSS(-5,MA((LLV(LOW,45)-CLOSE)/告衡(HHV(HIGH,45)-LLV(LOW,45))

*100,5)),5),LOW-0.28,'进'),COLOR3366FF;

趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2

*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

DRAWICON(CROSS(趋势,8)AND SLOPE(CLOSE,7)<-0.03,LOW,1);

DRAWICON(CROSS(85,趋势*1.03),HIGH*1.05,2);

VAR1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;

VAR2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;

DRAWTEXT(VAR1 AND VAR2,LOW,'买'),COLORYELLOW ;

VAR3:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;

DRAWTEXT(CROSS(80,VAR3),HIGH*1.02,'卖'),COLORYELLOW ;

DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/罩友氏2,MA(CLOSE,20)+2*STD

(CLOSE,20)),HIGH*1.03,'卖'),COLORF00FF0 ;