波段抄底公式副图源码及用法
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
波段抄底公式源码及用法
一、无未来的抄底公式副图源码,并可做选股公式。源码如下:
V AR1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
V AR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
V AR3:=(SMA(V AR2,3,1)-18)*1.55;
V AR4:=SMA(V AR3,3,1);
V AR5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
V AR6:=SMA(V AR5,10,1);
V AR7:=(EMA(SMA(V AR6,8,1),34)-25)*2.6;
V AR8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
V AR9:=POW(MA(LOW,5),2)+MA(LOW,5);
V ARA:=POW(MA(HIGH,5),2)+MA(HIGH,5);
V ARB:=((V AR8-LLV(V AR9,64))/(HHV(V ARA,64)-LLV(V AR9,64))*150+65-10)/2;
V ARC:=SMA(V ARB,3,1)*1.5-46;
V ARD:=SMA(V ARC,3,1);
V ARE:=3*V ARC-2*V ARD;
V ARF:=(V AR1+V AR2+V AR5)/3;
V AR10:=((V AR3+V AR3+V AR6+V ARC)/4-15)*1.67;
V AR11:=((V AR4+V AR4+V AR7+V ARD)/4-15)*1.67;
V AR12:=((V AR1+V AR5*2+V ARF+V AR10+V AR11+V ARB+V ARC+V ARD+V ARE)/10-15)*1.67;
V AR13:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
V AR14:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
V AR15:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
V AR16:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
V AR17:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
V AR18:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
V AR19:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
V AR1A:=((V AR13*8+V AR14*8+V AR15*8+V AR16+V AR17+VAR18+V AR19)/28-0.1)*185;
V AR1B:=SMA(V AR1A,3,1);
V AR1C:=(SMA(V AR1B,8,1)-8)*1.18;
拉升一: (V AR10+V AR11+V AR12+V ARC+V ARD+V ARE+V AR1C+V AR7)/13 ;
拉升二:=(V AR10+V AR11+V AR12+V ARC+V ARD+V ARE+V AR1C+V AR7)/21 ;
拉升三:=(V AR10+V AR11+V AR12+V ARC+V ARD+V ARE+V AR1C+V AR7)/34;
拉升线: (V AR3+VAR6+V AR1B*2)/4 ;
40;
20;
0;
V ARA1:=(CLOSE-LLV(LOW,60.13547854))/(HHV(HIGH,60.13547854)-LLV(LOW,60))*80;
V ARB1:=SMA(V ARA1,7,1);
V ARC1:=SMA(V ARB1,5,1);
介必升:=IF(CROSS(V ARB,V ARC) AND V ARB<20,100,0),LINETHICK2,COLORWHITE;
V AR2N:=LLV(LOW,3)<=LLV(LOW,60);
V AR3N:= C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
老介抄底:IF(VAR2N AND V AR3N,90,0),COLORRED,LINETHICK2;
这个公式比博客/里的抄底公式要好,因为这个公式无未来函
数,博客里的抄底公式有未来函数,群一146941301群二160301999群三123044624群四140519577
里面共享里的公式也很实用,但要分清有无未来函数。
上述抄底公式也可做成选股指标公式,就是选:老介抄底>0.具体参数为:
V AR2N:=LLV(LOW,3)<=LLV(LOW,60);
V AR3N:= C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
老介抄底:=IF(VAR2N AND V AR3N,90,0),COLORRED,LINETHICK2;
XG: 老介抄底>0;
二、有未来但非常准确的波段抄底公式副图及选股公式源码:
波段抄底副图(用法:添加到KDJ副图指标参数后面)
介必升:0,colorgray;
V ARF:=TROUGHBARS(3,15,1)<4;
STICKLINE(FILTER(V ARF=1,5),2,0,3,0),colorwhite;
DRAWTEXT(FILTER(V ARF=1,3),1,'介必升'), colormagenta;
同时可用于选出发出信号的个股,选股公式为:
介必升:0,colorgray;
V ARF:=TROUGHBARS(3,15,1)<4;
STICKLINE(FILTER(V ARF=1,5),2,0,3,0);
DRAWTEXT(FILTER(V ARF=1,3),1,'介必升');
XG:V ARF=1;