在了解極品買賣線主圖指標(biāo)公式源碼之前,首先我們先說明一下極品買賣線的用法:操作上是非常簡單的,那就是紅線上穿白線之后一直買入持有,回抽白線就是買點(diǎn),接著買,紅線下穿白線出,了K線圖用言責(zé)表示漲跌停及倍量,如下圖所示。
了解完了它的用法之后,我們?cè)賮砜丛撝笜?biāo)主圖的公式源碼:
回歸斜率線A:=EMA(SLOPE(C,4)*20+C,42);
經(jīng)典RL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
經(jīng)典K:=SMA(經(jīng)典RL,3,1); 經(jīng)典D:=SMA(經(jīng)典K,3,1); 經(jīng)典J:=3*經(jīng)典K-2*經(jīng)典D;
MAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))) /(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))));
MAHL2:=IF(EMA(C,2)>回歸斜率線A AND MAHL1>0,EMA(C,3),LLV(EMA((H+L)/2,5),30));{A}
MAHL3:=IF(EMA(C,2)>回歸斜率線A AND MAHL1>0,LLV(EMA((H+L)/2,5),30),EMA(C,5));{A}
上線:=SMA(C,6.5,1);
一號(hào)支撐線:SMA(C,14.5,1),COLORYELLOW,LINETHICK4;
上線1:=SMA(C,3,1);
一號(hào)支撐線1:=SMA(C,8,1);
上線2:=SMA(C,3.5,1);
DRAWTEXT(CROSS(一號(hào)支撐線1,上線1),H*1.08,'洗盤'),COLOR00FF00;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,25))/4;
UPR:=BBI+3*STD(BBI,13);
DWN:=BBI-3*STD(BBI,13);
安全:=MA(CLOSE,55);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT( CROSS(82,RSI) AND CLOSE<上線1 , HIGH*1.04,'減倉') ,COLORFF9966,LINETHICK1;
A7:=(2*C+H+L)/4;
操作:MA(A7,5),COLORYELLOW,LINETHICK2;
操作1:=MA(A7,5)*1.03;
操作2:=MA(A7,5)*0.97;
DRAWTEXT( CROSS(上線1,上線) AND 上線1>操作,LOW *0.95,'買進(jìn)' ),COLORYELLOW;
VAR1:=LLV(A7,21);
VAR2:=HHV(A7,30);
DRAWTEXT( CROSS(上線1,操作) AND 上線1<一號(hào)支撐線 AND 上線1<一號(hào)支撐線1 AND 上線1<上線 AND CLOSE>VAR1,LOW *0.99,'見底' ),COLORYELLOW;
YCX:=操作>=REF(操作,1);
H1:=MAX(MAX(上線,一號(hào)支撐線1),一號(hào)支撐線);
L1:=MIN(MIN(上線,一號(hào)支撐線1),一號(hào)支撐線);
DRAWTEXT(CROSS(上線1,一號(hào)支撐線1) AND 上線1>操作 ,LOW *0.98,'全倉' ),COLORFF00FF;
SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
M1:=1000*操作/一號(hào)支撐線<=1015 AND 1000*操作/一號(hào)支撐線>=975;
M2:=1000*一號(hào)支撐線1/一號(hào)支撐線<=1020 AND 一號(hào)支撐線1/一號(hào)支撐線>=980;
M3:=1000*上線/一號(hào)支撐線<=1015 AND 上線/一號(hào)支撐線>=985;
DRAWTEXT(IF(COUNT(CLOSE6/10 AND
COUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND
REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND
OPEN>REF(CLOSE,1),1,0),LOW*0.94,'買進(jìn)') ,COLORYELLOW;
D:=MA(CLOSE,89)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE
AND CLOSE
RSV:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;
K:=SMA(RSV,3,1);
D1:=SMA(K,3,1);
J:=3*K-2*D1;
VAR3:=(2*CLOSE+HIGH+LOW)/3;{可將3該為4,信號(hào)少點(diǎn)}
VAR4:=EMA(EMA(EMA(VAR3,4),4),4);{可將3該為4,信號(hào)少點(diǎn)}
E:=(VAR4-REF(VAR4,1))/REF(VAR4,1)*100;
F:=MA(E,3)+0.03;
G:=MA(E,1);
DRAWICON(CROSS(F,G) AND J>65,HIGH*1.02,15),COLORGREEN;
DRAWTEXT( CROSS(上線1,操作) AND M1 AND M2 AND M3,LOW *0.94,'買進(jìn)' ),COLORYELLOW;
STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORRED;
STICKLINE(C
STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,3,0 ),COLOR000055;{紅K};
STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.7,0 ),COLOR000077;{紅K};
STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.1,0 ),COLOR000099;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;
STICKLINE(CLOSE= REF(CLOSE,1) ,H,L,3,1 ),COLOR999999;
STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORWHITE;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;
STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;
STICKLINE(CO,C,O,3,0),COLORFFCC00;
STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400;
STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800;
STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00;
STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,3.2,0),COLORBB00FF;
STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,2.7,0),COLORFF33FF;
STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,2.1,0), COLORFF66FF;
STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,1.5,0),COLORFF99FF;
STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,0.9,0),COLORFFBBFF;
STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,0.3,0),COLORFFDDFF;
股票極品買賣線主圖指標(biāo)公式源碼就是以上的內(nèi)容了,相信大家已經(jīng)了解的非常清楚了,如若您想要了解更多的股票公式方面的內(nèi)容,敬請(qǐng)關(guān)注本欄目的更新,最后提前祝愿大家端午節(jié)快樂。
服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:efofrzj.cn
銷售熱線:0371-65350319
技術(shù)支持:13333833889