以下是最新算法在0轴上公式源码和使用说明
最新算法macd在0轴上选股公式源码:
V1:=c-ref(ma(c,20),11);
V2:=IF(EMA(C,5)/EMA(EMA(C,9),16) =0.85andc/ref(c,1) 0.905andc/ref(c,1) 1.05and/CAPITAL*100 5,50,0);
V3:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*V1;
V4:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
V5:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*V1;
V6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
V7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
V8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
V9:=(V3+V4+V5+V6+V7+V8)/6*V1;
V10:=abs(V6-V8);
V11:=(V9+V10)/2;
V12:=if(V11 0andc=llV(c,5)andc/ref(c,1) 0.905andc/ref(c,1) 1.05andVOL/CAPITAL*100 5,-50,0);
V13:=ref(c,2)*0.865;
V14:=ref(c,13)*0.772;
V15:=MIN(V13,V14);
V16:=100*vol/capital*V1;
V17:=if((c-V15)/c 3/100andsum(V16,5)/5 1.8,1,0);
V18:=if(V17 0and(V12 0orV2 0),10,0);
老成谋点:if(V18 0,60,0),colorred,linethick2;
macd在0轴上:EMA(CLOSE,9)-EMA(CLOSE,18);
选股公式:EMA(macd在0轴上,7),LINETHICK1;
ffffd2:=REF(LOW,1);
ffffd3:=SMA(ABS(LOW-ffffd2),13,1)/SMA(MAX(LOW-ffffd2,0),13,1)*100;
ffffd4:=EMA(IF(CLOSE*1.2,ffffd3*13,ffffd3/13),13);
ffffd5:=LLV(LOW,34);
ffffd6:=HHV(ffffd4,34);
ffffd7:=IF(LLV(LOW,56),1,0);
A:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
ffffda1:=SMA(A,9,1);
ffffda2:=SMA(ffffda1,3,1);
ffffd8:=EMA(IF(LOW =ffffd5,(ffffd4+ffffd6*2)/2,0),3)/618*ffffd7;
ffffd9:=EMA(CLOSE,5);
ffffd10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);
MACD:=2*(macd在0轴上-选股公式);
STICKLINE(ffffd9 REF(ffffd9,1),0,ffffd9*0.08,4,1),COLOR10E410;
ffffda3:IF(ffffd9 REF(ffffd9,1),ffffd9,0),COLOR10E410,LINETHICK0;
STICKLINE(ffffd9 REF(ffffd9,1),0,ffffd9*0.08,4,1),COLOR1010FF;
ffffda4:IF(ffffd9 REF(ffffd9,1),ffffd9,0),COLOR1010FF,LINETHICK0;
STICKLINE(ffffd8 REF(ffffd8,1),0,ffffd8,4,1),COLOR10FFFF;
STICKLINE(MACD =0,MACD,0,0,0),COLORF00FF0;
STICKLINE(MACD 0,MACD,0,0,0),COLORF00FF0;
STICKLINE(MACD REF(MACD,1)ANDMACD 0,0,MACD,0,0),COLORFFFF00;
STICKLINE(MACD =REF(MACD,1)ANDMACD 0,0,MACD,0,0),COLORFFFF00;
ffffda5:EMA(ffffda1,3),COLORRED;
KD:3*SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,5,1),3,1),COLORYELLOW;
ffffda6:IF(KD =10,20,0)STICK,LINETHICK2,COLORYELLOW;
ffffda7:IF(ffffd8 REF(ffffd8,1),ffffd8*8,0),COLOR10FFFF,LINETHICK0;
STICKLINE(ffffd8 REF(ffffd8,1),0,ffffd8,4,1),COLORFFF810;
ffffda8:(LOW*5),COLORFF10FF,LINETHICK0;
ffffda9:ffffd10,COLORFF7676;
IF(macd在0轴上 0,macd在0轴上,0),COLORRED,LINETHICK1;
IF(macd在0轴上 0,0,macd在0轴上),COLORRED,LINETHICK1;
IF(macd在0轴上 选股公式,macd在0轴上,选股公式),COLOR00FF00,LINETHICK1;
IF(macd在0轴上 选股公式,选股公式,选股公式),COLORWHITE,LINETHICK1;
XL1:=MA(LOW,2)*0.96;
XL2:=MA(LOW,26)*0.85;
XL3:=REF(XL1,1) XL2ANDREF(XL1,1) XL1ANDREF(XL1,1) REF(XL1,2);
DRAWTEXT(KD =98ANDREF(KD 98,1),100,'落袋为安')COLORGREEN;
STICKLINE(KD =98ANDREF(KD 98,1),90,110,5,0)COLORBLUE;
ffffda91:110,COLORRED;
ffffda92:88;
STICKLINE(XL3,0,ffffd8*3,4,0),COLOR006EFF;
DRAWTEXT(XL3,ffffd8*2,''),COLOR006EFF;
ffffda93:DRAWICON(XL3,0,4),COLORRED;
ffffda94:=CROSS(macd在0轴上,选股公式)ANDmacd在0轴上
STICKLINE(ffffda94,0,-0.38,3,0),COLOR0000FF;
DRAWTEXT(KD 88ANDREF(KD 88,1),88,'ffffda5'),COLORRED,LINETHICK5;
N:=12;
A1:=100*VOL/CAPITAL;
A2:=100*(WINNER(CLOSE)-REF(WINNER(CLOSE),1));
穿透率:=A2/A1;
穿透率选股:REF(C,1) REF(C,2)AND穿透率
最新算法macd在0轴上选股公式截图