“趋势买点”,智能捕捉市场底部的工具指标
分享的这个指标包含副图与主图,不含未来函数,旨在通过分析市场波动找到可靠的买点信号,以便在底部进行抄底操作。
"趋势买点"的副图信号作为判断市场底部的重要依据,通过结合技术分析、市场情绪及时间周期理论,从历史数据中识别出波段的底部信号。当副图出现主升箭头时,配合主图的买点信号,这是进行波段首次建仓的好时机。
此外,当副图中再次出现主升箭头信号时,这也可以作为波段加仓的参考点。该指标不仅从技术层面分析市场,还综合考虑了市场的宏观环境和时间因素,力求在多维度下进行市场预测。
副图:
通过结合RSI、WR等多种技术指标,计算出波段最佳买入信号,帮助用户识别市场的低点信号,并进行建仓决策。
"建仓买点"信号和"最佳买入时机"信号用于确认波段低点,通过显示在副图上的箭头和标注,给出具体的操作建议。
主图:
主图代码中包含了趋势线、操盘线和行情线等多种技术指标的计算。
趋势线用于判断市场的整体趋势走向,通过不同颜色的趋势线(红升和蓝降)显示当前的市场趋势状态。
当主图中满足多项条件时,"买点"信号会标注在图中,为用户提供明确的买入建议。
选股采用主副图共振进行选股,更高提升选股质量。
公式主
A:=AMOUNT/V/100;
VARA:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5);
操盘线:=EMA(((VARA/10)+EMA(A,10)),3);
行情线:=EMA(A,3);
重心:=(C+0.618REF(C,1)+0.382REF(C,2)+0.236REF(C,3)+0.146REF(C,4))/2.382;
趋势线:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK2;
红升:IF(重心>=趋势线,趋势线,DRAWNULL),COLORRED,LINETHICK2;
蓝降:IF(重心<趋势线,趋势线,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(行情线<操盘线,H,L,0,1),COLORGREEN;DRAWTEXT_FIX(C>O,0.01,0.9,0,’
STICKLINE(行情线<操盘线,C,O,2,1),COLORGREEN;
STICKLINE(行情线>=操盘线,H,L,0,1),COLORRED;
STICKLINE(行情线>=操盘线,C,O,2,1),COLORRED;
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(CROSS(DA-DB,0),L*0.98,‘★B’),COLORRED;
FSC2012782002:DRAWNULL,COLORRED;
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
DRAWTEXT(CROSS(84,JH),H*1.02,‘☆S’),COLORGREEN;
买点:=CROSS(DA-DB,0)AND C>趋势线AND行情线>=操盘线;STICKLINE(买点,L,L*0.96,2,0),COLORYELLOW;
DRAWTEXT(买点,L*0.95,‘买点’),COLORYELLOW;
公式副
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);DXR:=(((ADX+REF(ADX,5))/2)+RSI5);
WR10:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LOW,10)));
NEWVOL:=(RSI5-WR10);
最佳买入:=(AV+NEWVOL);
最佳买入选股:=IF(CROSS(最佳买入,0),1,0),STICK,COLORRED;
VAR1:=SMA(最佳买入选股,3,1);
VAR2:=SMA(VAR1,3,1),COLOR0000FF;
VAR3:=SMA(VAR2,3,1),COLOR00FFFF;
建仓买点:IF(CROSS(VAR2,VAR3)AND(VAR2<40),5,0*10000),COLOR0000FF,LINETHICK2;DRAWTEXT_FIX(C>O,0.01,0.9,0,’
STICKLINE(建仓买点,0,2.5,8,0),COLORRED;
STICKLINE(建仓买点,0.45,4.0,2,0),COLORRED;
RSV:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*50);
K:=SMA(RSV,3,1);D:=SMA(K,3,1);
J:=3K-2D;X:=LLV(J,2)=LLV(J,8);
最佳买入时机:IF(CROSS(J,3),1,0),STICK,COLORFFFF00;
STICKLINE(最佳买入时机,0,1,3,0),COLOR009999;
STICKLINE(最佳买入时机,0,1,2,0),COLOR00DDDD;
STICKLINE(最佳买入时机,0,1,1,0),COLOR00FFFF;
机构建仓:IF(最佳买入<5,-0.2,0),STICK,COLOR00FF00,LINETHICK1;
FSC2012782002:DRAWNULL,COLORRED;
机构建仓日:STICKLINE(机构建仓,0,-0.2,3,0),COLOR00FF00,LINETHICK6;
获利:STICKLINE(REF(KDJ.J,1)<0 AND KDJ.J>0,60,0,1,0),COLOR0000FF;
RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:SMA(RSV9,3,1);DK1:K1-REF(K1,1);
趋线买点:IF(DK1>7 AND REF(DK1,1)<0 AND(DK1-REF(DK1,1))>9,50,0),STICK,COLORYELLOW;
DRAWICON(趋线买点>0,50,1);
DRAWTEXT(REF(KDJ.J,1)<0 AND KDJ.J>0,50,‘趋线买’),COLORWHITE;
选股
A:=AMOUNT/V/100;
VARA:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5);
操盘线:=EMA(((VARA/10)+EMA(A,10)),3);
行情线:=EMA(A,3);
重心:=(C+0.618REF(C,1)+0.382REF(C,2)+0.236REF(C,3)+0.146REF(C,4))/2.382;
趋势线:=EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW;
红升:=IF(重心>=趋势线,趋势线,DRAWNULL),COLORRED;
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);DXR:=(((ADX+REF(ADX,5))/2)+RSI5);
WR10:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LOW,10)));
NEWVOL:=(RSI5-WR10);
最佳买入:=(AV+NEWVOL);
最佳买入选股:=IF(CROSS(最佳买入,0),1,0),COLORRED;
VAR1:=SMA(最佳买入选股,3,1);
VAR2:=SMA(VAR1,3,1),COLOR0000FF;
VAR3:=SMA(VAR2,3,1),COLOR00FFFF;
建仓买点:=IF(CROSS(VAR2,VAR3)AND(VAR2<40),5,0*10000),COLOR0000FF;
RSV:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*50);
K:=SMA(RSV,3,1);D:=SMA(K,3,1);
J:=3K-2D;X:=LLV(J,2)=LLV(J,8);
最佳买入时机:=IF(CROSS(J,3),1,0),COLORFFFF00;
获利:=STICKLINE(REF(KDJ.J,1)<0 AND KDJ.J>0,60,0,1,0),COLOR0000FF;
RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);
趋线买点:=IF(DK1>7 AND REF(DK1,1)<0 AND(DK1-REF(DK1,1))>9,50,0),COLORYELLOW;
XG:红升 AND (趋线买点>0 OR ( REF(KDJ.J,1)<0 AND KDJ.J>0) );
如有问题可以私信
标签:10,EMA,买点,智能,捕捉,LOW,100,REF,SMA From: https://blog.csdn.net/weixin_44406393/article/details/143030240