公式使用方法:
红线穿黄线开始就可以进入
红不下穿黄,就一直持有到高位
白线如果下穿红线, 就得在高点卖出
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0),COLORAAAAAA;
MAOBV:MA(OBV,15),COLOR000099;
MAOBV2:MA(OBV,30),COLOR00AAAA;
{箱顶:HHV( OBV,21),COLOR0000FF;
箱底:LLV( OBV,21),COLOR00FF00;}
UPPER:MAOBV+2*STD(OBV,30),COLORFFFF00,POINTDOT;
LOWER:MAOBV-2*STD(OBV,30),COLORFF0000,POINTDOT;
TT:=240/FROMOPEN;
比:=TT;
促进指数MFL:=(HIGH-LOW)*1000000/(VOL*比),COLORRED;
AY2:=EMA(CLOSE,12)-EMA(CLOSE,26);
AZ2:=EMA(AY2,9);
LT2:=(AY2-AZ2);
L211:=IF(LT2,LLV(L,21),DRAWNULL),COLOR217158,CIRCLEDOT;
ZGD:=HHV(H,80)*0.99;
ZGD2:=CONST(ZGD);
ZDD:=LLV(L211,80);
ZDD2:=CONST(ZDD);
YYA4:=MA(CLOSE,20);
YYA5:=(CLOSE > MA(CLOSE,5));
YYA6:=(MA(CLOSE,5) > MA(CLOSE,10));
YYA7:=(CLOSE > MA(CLOSE,10));
YYA8:=(MA(CLOSE,5) > MA(CLOSE,20));
YYA9:=(CLOSE > MA(CLOSE,20));
YYA10:=REF(YYA4,1);
YYA11:=(YYA4 > YYA10);
YYAVX:=(((((IF(YYA5,10,(0 - 10)) + IF(YYA6,10,(0 - 10))) + IF(YYA7,10,(0 - 10))) + IF(YYA8,10,(0 - 10))) + IF(YYA9,10,(0 - 10))) + IF(YYA11,10,(0 - 10)));
DSLX:=(CLOSE / INDEXC);
DSLX1:=MA(DSLX,5);
DSLX2:=MA(DSLX,10);
YYV1:=MA(VOL,5);
YYV2:=MA(VOL,10);
J1:=CONST(IF( YYAVX > 0,200,100));
J2:=CONST(IF( YYAVX > 0,00,100));
J3:=CONST(IF( YYAVX > 0,100,100));
ZGD3:=ZGD2;
ZDD3:=ZDD2;
ZGD4:=ZGD2;
情况1:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况2:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况3:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 > YYV2)) AND (DSLX < DSLX1)),1,0));
情况4:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 <= YYV2)) AND (DSLX < DSLX1)),1,0));
情况5:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况6:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况7:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));
情况8:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
情况9:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况10:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况11:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)),NODRAW;
情况12:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
情况13:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况14:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况15:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));
情况16:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));
大盘1:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 >= YYV2)),1,0));
大盘2:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 < YYV2)),1,0));
大盘3:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 >= YYV2)),1,0));
大盘4:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 < YYV2)),1,0));
大盘5:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)),1,0));
大盘6:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)),1,0));
大盘7:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)),1,0));
大盘8:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)),1,0));
MFI:=(HIGH-LOW)*1000000/(VOL*比);
绿灯:=MFI>=REF(MFI,1)AND VOL*比>=REF(VOL,1);
MMM1:=CONST(绿灯);
衰退:=MFIMMM2:=CONST(衰退);
伪装:=MFI>=REF(MFI,1)AND VOL*比MMM3:=CONST(伪装);
蛰伏:=MFI=REF(VOL,1);
MMM4:=CONST(蛰伏);
TS1:=IF(情况1=1,0.06+0.06,0.06);
TS2:=IF(情况2=1,TS1+0.18,TS1);
TS3:=IF(情况3=1,TS2+0.18,TS2);
TS4:=IF(情况4=1,TS3+0.18,TS3);
TS5:=IF(情况5=1,TS4+0.18,TS4);
TS6:=IF(情况6=1,TS5+0.18,TS5);
TS7:=IF(情况7=1,TS6+0.18,TS6);
TS8:=IF(情况8=1,TS7+0.18,TS7);
TS9:=IF(情况9=1,TS8+0.18,TS8);
TS10:=IF(情况10=1,TS9+0.18,TS9);
TS11:=IF(情况11=1,TS10+0.18,TS10);
TS12:=IF(情况12=1,TS11+0.18,TS11);
TS13:=IF(情况13=1,TS12+0.18,TS12);
TS14:=IF(情况14=1,TS13+0.18,TS13);
TS15:=IF(情况15=1,TS14+0.18,TS14);
TS16:=IF(情况16=1,TS15+0.18,TS15);
TS17:=IF(大盘1=1,TS16+0.18,TS16);
TS18:=IF(大盘2=1,TS17+0.18,TS17);
TS19:=IF(大盘3=1,TS18+0.18,TS18);
TS20:=IF(大盘4=1,TS19+0.18,TS19);
TS21:=IF(大盘5=1,TS20+0.18,TS20);
TS22:=IF(大盘6=1,TS21+0.18,TS21);
TS23:=IF(大盘7=1,TS22+0.18,TS22);
TS24:=IF(大盘8=1,TS23+0.18,TS23);
TS25:=IF(MMM1=1,TS24+0.18,TS24);
TS26:=IF(MMM2=1,TS25+0.18,TS25);
TS27:=IF(MMM3=1,TS26+0.18,TS26);
TS28:=IF(MMM4=1,TS27+0.18,TS27);
2、注意进半仓,使用周期60分钟日线周期都可以
本公式是副图,或者选股公式都可以,使用周期60分钟日线周期都可以
YS1:=(HIGH+LOW+CLOSE*2)/4;
RK3:=EMA(YS1,10);
RK4:=STD(YS1,10);
RK5:=(YS1-RK3)*100/RK4;
RK6:=EMA(RK5,5);
涨:=EMA(RK6,10)+100/2-5;
跌:=EMA(涨,4);
VAR11:=SUMBARS(VOL,FINANCE(7)*100);
VAR22:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VAR3:=(CLOSE-VAR22)/VAR22*100;
VAR4:=HHV(VAR3,VAR11);
VAR5:=LLV(VAR3,VAR11);
VAR6:=(VAR3-VAR5)/(VAR4-VAR5)*100;
K:=SMA(VAR6,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
MA1:=MA(J,3);
注意进半仓:FILTER(J>MA1 AND J<=3,5)=1 AND 跌<0;
3、新资金缩放量
公式的思路就是:核心思想就是做波段,低吸高抛.( 顶尖财经 股票学院: )
从波段指标里提取出来的核心源代码,经过多次升级修改,已经脱胎换骨,
60分钟线看三W底,还分大W和小W,以50为标准做出的三W底为大W底,,,能走的更远一点,,以10做出的三W底为小W底,波段时间会比较短,两个三W底都是60分钟线专用,
{大小三W底都是60分钟线专用,其它线用不太准}
10;
神奇筹码:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORDEBC56;
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
MA4:=MA(CLOSE,60);
最高价天数:= BARSLAST(HHV(H,100)=H);
底部放量:MA(V,5)>MA(V,20) AND C
一级买入:COUNT(神奇筹码=14 OR COUNT(神奇筹码=12 OR COUNT(神奇筹码=8 AND 神奇筹码二级买入:COUNT(神奇筹码<15,5)>=4 AND 神奇筹码<15;
三级买入:COUNT(神奇筹码<10,4)>=1 AND V{四级买入:COUNT((一级买入 AND 二级买入) OR (一级买入 AND 三级买入) OR (二级买入 AND 三级买入),5)>=1 AND 神奇筹码<15;}
四级买入:((COUNT(一级买入,4)>=1 AND COUNT(二级买入,4)>=1) OR (COUNT(一级买入,4)>=1 AND COUNT(三级买入,4)>=1) OR (COUNT(二级买入,4)>=1 AND COUNT(三级买入,4)>=1)) AND 神奇筹码<15;
五级买入:(COUNT(一级买入,4)>=1 AND COUNT(二级买入,4)>=1 AND COUNT(三级买入,4)>=1) AND 神奇筹码<15;
六级买入:(COUNT(一级买入,2)>=1 AND COUNT(二级买入,2)>=1 AND COUNT(三级买入,2)>=1 AND COUNT(四级买入,2)>=1 AND COUNT(五级买入,2)>=1) AND 神奇筹码<15;
小三W底:COUNT(CROSS(神奇筹码,10),42)=2 AND 神奇筹码<6,COLOR6666FF;
大三W底:COUNT(CROSS(神奇筹码,50),100)=2 AND 神奇筹码<10 AND 最高价天数>90,COLORWHITE;
{STICKLINE(三级买入,100,0,1,-1),COLORYELLOW;}{底部放量之后缩量买进}
{STICKLINE(一级买入,100,50,2,0),COLORRED;}
{DRAWICON(COUNT(神奇筹码<20,9)>=7 AND 神奇筹码<20,110,24); }
{DRAWICON(一级买入,90,9);
DRAWICON(二级买入,100,13);
DRAWICON(三级买入,110,24);
DRAWICON(四级买入,120,25);
DRAWICON(五级买入,130,26);
DRAWICON(六级买入,140,14);}
满足条件天数:=IF(大三W底,最高价天数,0);
STICKLINE(大三W底,10,90,1,0),COLORWHITE;
STICKLINE(小三W底,10,80,1,0),COLOR6666FF;
STICKLINE(六级买入,10,70,1,0),COLORGREEN;
STICKLINE(五级买入,10,60,2,0),COLORMAGENTA;
STICKLINE(四级买入,10,50,3,0),COLORYELLOW;
STICKLINE(三级买入,10,40,4,0),COLORRED;
STICKLINE(二级买入,10,30,5,0),COLORBLUE;
STICKLINE(一级买入,10,20,6,0),COLORLIGRAY;
{一级买入的思路,围绕神奇筹码线连续下跌做文章,灵感来自TD序列9连环,19天内有14个下跌,或15天内有12个下跌,或9天内有8个下跌,神奇筹码小于前一日,小于10,两天加一起平均值小于30}
{二级买入思路,神奇筹码5天内有4天低于15,而且当前神奇筹码低于15,这是找的一个底部区域}
{三级买入思路,低神奇筹码加底部放量}
{四级买入思路,一二三级任意两个思路组合外加神奇筹码小于15}
{五级买入思路,4天之内,一二三级三个信号全都出现过外加神奇筹码小于15}
{六级买入思路,2天之内,一二三四五级思路全都出现过外加神奇筹码小于15}
EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORDEBC56;
{主力筹:=WINNER(C)*100,NODRAW;
散户筹:=(WINNER(C*1.1)-WINNER(C*0.9))*100,NODRAW;
STICKLINE(神奇筹码>散户筹,-10,-6,6,0),COLORRED;
STICKLINE(主力筹>散户筹,-5,0,6,0),COLORMAGENTA;
STICKLINE(神奇筹码>50,1,5,6,0),COLORFF9900;
STICKLINE(主力筹>80 AND 散户筹{ZJX1:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4;}
{ZJX2:=EMA(CLOSE,2)-EMA(CLOSE,89);
ZJX3:=2*(ZJX2-EMA(ZJX2,30))*10;
ZJX4:=EMA(CLOSE,2)-EMA(CLOSE,150);
ZJX5:=2*(ZJX4-EMA(ZJX4,100));
背离值:(POW(ZJX3,3)*0.1+POW(ZJX3,2))/45+(POW(ZJX5,3)*0.1+POW(ZJX5,1))*5,COLORYELLOW;
正常值:EMA(背离值,5),COLORWHITE;
STICKLINE(正常值>REF(正常值,1),0,正常值,1,1),COLORMAGENTA;
STICKLINE(正常值<=REF(正常值,1),0,正常值,1,1),COLORCYAN;
DRAWICON(CROSS(背离值,正常值),正常值*1.2,34);
DRAWICON(CROSS(正常值,背离值),正常值*0.8,35);};