HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/210,COLORBLUE,LINETHICK1;
LL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
REF(L,20))/210,COLORBLUE,LINETHICK1;
GO0B:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3+XMA(XMA(H,60),60);
DO0B:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3;
STICKLINE(1=1,GO0B,DO0B,5,0),COLOR222222;
D90H:=EMA(HH,90),COLORRED,LINETHICK1;
D90L:=EMA(LL,90),COLORRED,LINETHICK1;
D90:(D90H+D90L)/2;
DGH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/210,COLORBLUE,LINETHICK1;DDL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
REF(L,20))/210,COLORBLUE,LINETHICK1;
D90C:=D90H-D90L;
G0:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))+XMA(XMA(H,25),25);
D0:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25));
GO0:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3+XMA(XMA(H,60),60);
DO0:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3;
DTD:=(D0+G0)/2>=(D90H+D90L)/2;
KTD:=(D0+G0)/2<(D90H+D90L)/2;
YM:EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48),COLORWHITE,LINETHICK1;
YM1:EMA(YM,5),COLORWHITE,LINETHICK1;
YM2:EMA(YM1,5),COLORWHITE,LINETHICK1;
YM3:EMA(YM2,5),COLORWHITE,LINETHICK1;
D1:EMA(D90,10),COLORWHITE,LINETHICK1;
D2:EMA(D1,10),COLORWHITE,LINETHICK1;
IF(DTD=1,YM,DRAWNULL),LINETHICK1,COLORRED;
IF(DTD=1,YM1,DRAWNULL),LINETHICK1,COLORRED;
IF(DTD=1,YM2,DRAWNULL),LINETHICK1,COLORRED;
IF(DTD=1,YM3,DRAWNULL),LINETHICK1,COLORRED;
IF(KTD=1,YM,DRAWNULL),LINETHICK1,COLORGREEN;
IF(KTD=1,YM1,DRAWNULL),LINETHICK1,COLORGREEN;
IF(KTD=1,YM2,DRAWNULL),LINETHICK1,COLORGREEN;
IF(KTD=1,YM3,DRAWNULL),LINETHICK1,COLORGREEN;
IF(D90>D1,D90,DRAWNULL),LINETHICK1,COLORRED;
IF(D90>D1,D1,DRAWNULL),LINETHICK1,COLORRED;
IF(D90>D1,D2,DRAWNULL),LINETHICK1,COLORRED;
DX:DRAWLINE(HIGH>=HHV(HIGH,20),HIGH,LOW<=LLV(LOW,20),HHV(HIGH,4),1),POINTDOT,COLORMAGENTA;
KX:DRAWLINE(LOW<=LLV(LOW,20),LOW,HIGH>=HHV(HIGH,20),LLV(LOW,4),1),POINTDOT,COLORWHITE;
STICKLINE(CURRBARSCOUNT=1,G0,G0,100,5),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=1,D0,D0,100,5),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=1,GO0,GO0,100,5),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=1,DO0,DO0,100,5),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,G0,'賣'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,D0,'買'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,GO0,'頂'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,DO0,'底'),COLORMAGENTA;
CC:=((HIGH+LOW+CLOSE)/3-EMA((HIGH+LOW+CLOSE)/3,5))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,5));
STICKLINE(CC>=0,LOW,HIGH,0.0,0),COLORRED;
STICKLINE(CC>=0,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(CC<0,LOW,HIGH,0.0,0),COLORGREEN;
STICKLINE(CC<0,CLOSE,OPEN,3,1),COLORGREEN;
大單動向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
漲跌動因:=IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);
大單差分:=IF(TRADENUM>0,(LARGETRDINNUM-LARGETRDOUTNUM)/TRADENUM*100,0);
DDZ1:=大單差分*7;
DDZ2:=大單差分*3;
主力活躍度:=LARGEINTRDVOL-LARGEOUTTRDVOL;
主力凈流入:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AMO/V/10000;
買入力度:=LARGEINTRDVOL*100/VOL;
賣出力度:=LARGEOUTTRDVOL*100/VOL;
超B:=L2_AMO(0,2)/10000.0;
大B:=L2_AMO(1,2)/10000.0;
中B:=L2_AMO(2,2)/10000.0;
小B:=L2_AMO(3,2)/10000.0;
超S:=L2_AMO(0,3)/10000.0;
大S:=L2_AMO(1,3)/10000.0;
中S:=L2_AMO(2,3)/10000.0;
小S:=L2_AMO(3,3)/10000.0;
資金流向:=(超B+大B+中B+小B)-(超S+大S+中S+小S);
主力:=(超B+大B+中B)-(超S+大S+中S);
機構:=(超B+大B)-(超S+大S);
私募:=(大B+中B)-(大S+中S);
散戶:=(中B+小B)-(中S+小S);
大單:=(大B)-(大S);
中單:=(中B)-(中S);
資金啟動:=大單>0 AND 私募>0 AND 機構>0 AND 主力>0 AND 資金流向>0 AND 大單動向>0 AND 漲跌動因>0 AND DDZ1>0 AND DDZ2>0 AND 主力活躍度>0 AND 主力凈流入>0 AND 買入力度>賣出力度;
STICKLINE(資金啟動=1,LOW,HIGH,0,0),COLORRED;
STICKLINE(資金啟動=1,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(L<D0 AND DTD=1 AND YM>YM1,L,D0,3,0),COLORMAGENTA;
{DRAWTEXT_FIX(1,0.0,0.0,0,'《冠軍1號穩(wěn)賺不賠程序化交易方法》'),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.05,0,'第1步:下載日線數(shù)據(jù),保證日線數(shù)據(jù)完整'),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.10,0,'第2步:早盤開啟預警《今買明賣》和《牛股獵殺》'),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.15,0,'第3步:點擊使用《冠軍資金模板》查看資金數(shù)據(jù)是否正常,《發(fā)現(xiàn)異?!沸韪鼡Q服務器重新啟動!'),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.20,0,'第4步:點擊使用《冠軍指標模板》盯盤操作!'),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.25,0,'第5步:等待預警......!'),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.30,0,'第6步:《今買明賣》和《牛股獵殺》預警股出現(xiàn)后,查看副圖指標《冠軍今買明賣》和《冠軍牛股獵殺》是否有(紅綠粉白柱)買點提示!防止誤報!'),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.35,0,'第7步:《下單操作》:每次使用(半倉資金)及時按預警價格下單操作,盡量不要高于預警價!'),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.40,0,'第8步:《止盈止損操作》:下單買入后,按照下單時的副圖指標《冠軍今買明賣》和《冠軍牛股獵殺》提示的:止盈價、止損價-賣出操作!'),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.45,0,'第9步:《獲利止損率查看》:查看下單時間點對應的副圖指標《冠軍今買明賣》和《冠軍牛股獵殺》提示的:獲利率、止損率!即可知道此次買入獲利止損情況!'),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.50,0,'第10步:《今買明賣股止盈賣出方法》:第2天高于昨日止盈價逢高賣出止盈,如果最高價低于止盈價,但有獲利,收盤前賣出止盈!或者第3天逢高賣出!'),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.55,0,'第11步:《今買明賣股止損賣出方法》:第2天或者第3天嚴格以昨日止損價格止損賣出!認輸才會贏!'),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.60,0,'第12步:《牛股獵殺股止盈止損方法》:牛股獵殺屬于波段操作,后市按照下單時對應的副圖《冠軍牛股獵殺》當時提示的:“止盈價”以上逢高賣出!“止損價”止損即可!沒有周期限制!'),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.65,0,'第13步:《穩(wěn)賺不賠秘訣》:該方法為高安全度順勢定位買賣操作,預警價格獲利率均大于百分之3,獲利率》=止損率,5局3勝為贏策略,概率操作法!“持之以恒,穩(wěn)賺不賠”'),COLORWHITE,LINETHICK1;};
{萬能買賣今粉明黃}
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
STICKLINE(VAR1A,H*1.01,H*1.001,4,0),COLORGREEN;
STICKLINE(VAR19,L*0.999,L*0.99,4,0),COLORYELLOW;
{眉注}
{DRAWTEXT_FIX(1,0.12,0,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.36,0,0,GNBLOCK)COLORWHITE;
DRAWTEXT_FIX(1,0.24,0,0,DYBLOCK)COLOR00FFFF;}
{股本市值}
總股本:=STRCAT(STRCAT('總股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'億');
流通盤:=STRCAT(STRCAT(' 流通盤: ',CON2STR(CAPITAL/1000000,2)),'億');
市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'億');
DRAWTEXT_FIX(ISLASTBAR,0.02,0.05,0,總股本),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.12,0.05,0,流通盤),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.22,0.05,0,市值),COLORGREEN;
{輸出概念、行業(yè)、地域文本:}
DRAWTEXT_FIX(C>0,0.02,0.12,0,DYBLOCK),COLOR00DDFF,LINETHICK2;
DRAWTEXT_FIX(C>0,0.09,0.12,0,HYBLOCK),COLOR2200FF,LINETHICK2;
DRAWTEXT_FIX(C>0,0.16,0.12,0,GNBLOCK),COLORFFCC00,LINETHICK2;
聯(lián)系客服