同花顺追梦虎三线 三线金叉买入主图指标 源码同花顺公式

2017-10-10    来源:网络    编辑:翔博软件
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6; 操盘线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*RE

MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
操盘线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,coloryellow,LINETHICK1;
熊线:MA(操盘线,6),colorgreen,LINETHICK1;
 VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3;
 S2:=IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,colorgreen;
 A0:=(L+H+C*2)/4;
 A1:EMA(A0,10),colorblue,LINETHICK1;
 A2:=EMA(A0,25),colorliblue,LINETHICK1;
 A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
 A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;
 GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(7,13,24),0,5));
 GR2:=操盘线>操盘线 AND 操盘线>REF(操盘线,1);
 GR3:=COUNT("BIAS.BIAS2"(7,13,24)>10 AND H=HHV(H,GR1),GR1);
 GR4:=H=HHV(H,GR1);
 GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);
 GR6:=GR2 AND GR3 AND GR4;
 GR7:=GR2 AND GR3 AND GR4 AND GR5;
 GR8:=GR6 AND GR7;
 LC := REF(CLOSE,1);
 RSI6:=SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*100;
 BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
换手:=100*V/CAPITAL;
 DRAWTEXT(FILTER(RSI6>95 AND 换手>=7,3) OR FILTER(BIAS5>12,5) OR GR8,H*1.04,'S'),COLOR00FF00;
1
3
点击进入翔博软件旗下官方微店--指标超市