牛熊线交易系统主图指标,牛线上做多: MA1:EMA(CLOSE,M1); MA2:EMA(CLOSE,M2); MA3:EMA(CLOSE,M3); 牛线:EMA(CLOSE,M4); DRAWTEXT(ISLASTBAR,牛线,'牛熊线'); 主散对比曲线: N:=30; M:=60; 散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),LINETHICK2; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(RSV,5,1); D:=SMA(K,3,1); J:=3*K-2*D; 主力线:EMA(J,6),coloryellow,LINETHICK2; VAR2:=REF(LOW,1); VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3); VAR5:=LLV(LOW,30); VAR6:=HHV(VAR4,30); VAR7:=IF(MA(CLOSE,58),1,0); VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; VAR9:=IF(VAR8>100,100,VAR8); AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; AA5:=SMA(AA4,13,8); 趋势:CEILING(SMA(AA5,13,8)),colorred,LINETHICK3; 监测短期趋势变化 有买卖信号(顶尖财经 股票学院: www.58188.com): 卖出线: 99; 阶段卖: 90; 趋势: 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); 底部: 10; 买入警戒: IF(趋势<=10,50,0); 买入信号: IF(CROSS(趋势,底部),100,0); 卖出警戒: IF(趋势>=90,50,100) |
上一篇:同花顺源码:MACD主升浪进化版+主力散户线+SD通道
下一篇:同花顺源码:愚人变色+起爆点