震荡高抛低吸,只在超买88以上和超卖12以下进场(通达信公式 副图 测试图)
震荡高抛低吸公式用法:黄色线为进场线,只在超买88以上和超卖12以下进场把握高。金死叉提示是超卖和超卖的金死叉,效果很好,有参考价值。
指标信号提示没有未来函数信号不漂移。
SJ:=IF(DATE+19000000<9999999991129,1,1);{减4天,上方时间提前2天,30号到期28号提示} 超买:88*SJ,COLORRED;超卖:12*SJ,COLOR00FF00; VAR2:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);VAR3:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100);VAR4:=SMA(VAR3,9,1);VAR5:=SMA(VAR4,3,1);进场线 (3 * VAR4) - (2 * VAR5))*SJ, LINETHICK2 , COLOR00FFFF;VAR6:=(进场线 > (1 * REF(进场线,1)));VAR7:=LLVBARS(LOW,50);VAR8:=SUM(VOL,VAR7);VAR9:=HHVBARS(HIGH,50);VAR10:=SUM(VOL,VAR9);VAR11:=(((CLOSE - REF(OPEN,VAR9)) / REF(OPEN,VAR9)) * 100);VAR12:=((VAR10 / CAPITAL) * 100);VAR13:=(((CLOSE - REF(OPEN,VAR7)) / REF(OPEN,VAR7)) * 100);VAR14:=((VAR8 / CAPITAL) * 100);VAR15:=(MA(WINNER(CLOSE),3) * 100);VAR16:=EMA(VAR4,3);只做超买超卖:EMA(VAR4,3)*SJ,COLORFFFFFF;黄线上穿做多:EMA(只做超买超卖,3),COLORRED;黄线下穿做空:EMA(黄线上穿做多,3),COLORCC9966;DRAWTEXT(CROSS(进场线,只做超买超卖) AND 进场线<20,进场线,'金叉'),COLORRED;
DRAWTEXT(CROSS(只做超买超卖,进场线) AND 进场线>80,进场线,'死叉'),COLORGREEN;
指标信号提示没有未来函数信号不漂移。
SJ:=IF(DATE+19000000<9999999991129,1,1);{减4天,上方时间提前2天,30号到期28号提示} 超买:88*SJ,COLORRED;超卖:12*SJ,COLOR00FF00; VAR2:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);VAR3:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100);VAR4:=SMA(VAR3,9,1);VAR5:=SMA(VAR4,3,1);进场线
DRAWTEXT(CROSS(只做超买超卖,进场线) AND 进场线>80,进场线,'死叉'),COLORGREEN;