1、【大智慧】粉进黄出(日均线、中线、顶线、底线)-指标公式源码N:20,1,100,1P:2,0,10日均线 5: MA(CLOSE,5),COLOR00FFFF;日均线 10: MA(CLOSE,10),COLORFF00FF;BOLL中线: MA(CLOSE,20),COLORFF0000;BOLL顶线: BOLL 中线+P*STDDEV(CLOSE,N),COLORFFFF10;BOLL底线: BOLL 中线-P*STDDEV(CLOSE,N),COLORFFCC66;MA6:= MA(CLOSE,6);MA18:= MA(CLOSE,18);MA30:= MA(CLOSE,30);MA6
2、0:= MA(CLOSE,60);AAF:= LLV(LOW,34);BBF:= MA(AAF,4);LC:= REF(CLOSE,1);RSI:= SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;DRAWICON(CROSS(84,RSI),HIGH*1.03,5),COLOR0000FF;DRAWICON(CROSS(RSI,11),LOW*0.99,4),COLOR008000;VAR27:= REF(CLOSE,1);VAR28:= SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-V
3、AR27),6,1)*100;DRAWICON(IF(CROSS(76,VAR28),1,0),HIGH*1.03,5),COLORFF0000;DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)0 AND EMA(CLOSE,12)/LOW1.15,5),LOW,),COLORFF00FF;VARA:= AMOUNT/VOL/100;VARB:= (3*HIGH+LOW+OPEN+2*CLOSE)/7;VARC:= SUM(AMOUNT,7)/VARA/100;VARD:= DMA(VARB,VOL/VARC);VARE:= (CLOSE-VARD)/VA
4、RD*100;VARF:= (CLOSE-LLV(LOW,34)/(HHV(HIGH,34)-LLV(LOW,34)*100;VARJ:= MA(VARE,20)+STD(VARE,20);BIAS18:= (CLOSE-MA(CLOSE,18)/MA(CLOSE,18)*100;AA:= SMA(VARF,3,1);SS:= REF(BIAS18,1)=5 AND CROSS(VARJ,VARE) AND AA79;DRAWTEXT(REF(BIAS18,1)=5 AND CROSS(VARJ,VARE) AND AASS,HIGH*1.02,),COLOR008000;VAR1:= ZIG
5、(3,10)REF(ZIG(3,10),2);VAR2:= ZIG(3,10)REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)REF(ZIG(3,10),2);STICKLINE(VAR1,CLOSE,OPEN,8,0),COLOR00FFFF;STICKLINE(VAR1,CLOSE,OPEN,3,0),COLOR00FFFF;STICKLINE(VAR1,HIGH,LOW,1,0),COLOR00FFFF; STICKLINE(VAR2,CLOSE,OPEN,8,0),COLORFF00FF;STICKLINE(VAR2,CLOSE,OPEN,3,0),COLORFF00FF;【大智慧】粉进黄出(日均线、中线、顶线、底线)-指标公式效果图(文档来源:若水财经社区)