九毛八公式指标
请各位老师将(天缘买主图)做个选股公式,谢谢!!! 要求是:当主图同时出现(天缘买和买)字,请老师帮忙做个选股!!! 源码: 工作线:=MA(CLOSE,1); 趋势线:MA(CLOSE,18)COLORGREEN,LINETHICK2; 强势线:MA(CLOSE,3)COLORRED,LINETHICK2; TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9); TT1:=REF(EMA(TT2,3),1); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3); 稻壳1:EMA(CLOSE,144),POINTDOT,COLORWHITE; 稻壳2:EMA(C,318); AA1:=AMOUNT/VOL; BB1:=L1.2; DD1:=L
公式模块:
TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
TT1:=REF(EMA(TT2,3),1); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; LC:=REF(CLOSE,1); rsi5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100); TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10); HD:=(HIGH - REF(HIGH,1)); LD:=(REF(LOW,1) - LOW); DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10); DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10); pdi:=((DMP * 100) / TR1); mdi:=((DMM * 100) / TR1); ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5); AV:=(RSI5 + ADX); wr10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10))); NEWvol:=(RSI5 - WR10); 天缘买:=(AV + NEWVOL); XG:crOSS(天缘买,0) AND CROSS(CLOSE,TT1) AND J<55;