1. 向您請教點股票問題,能指導一下嗎
不要陷入本本主義,也不要管消息,總歸跌得多了就買,長的多了就賣;
把握一個「等」子,分批買賣,基本不賠。
2. 求高手給予通達信軟體能用的135戰法中:一枝獨秀、獨上高樓、一劍封喉的「選股」公式
首先這個戰法要有一個形態基礎,也就是種縮圖看大勢的看盤習慣,有了這個概念後,低位彈坑,高位誘多是絕大多數指標戰法做不到的。
低位彈坑,基本的波浪8波循環到位出現的階段低點,這個低點往往伴隨著成交極度低迷,有時候甚至是長陰線卻短量柱,而形成的價量坑,這個在寧俊明135中就沒有可以抄底的指標給以提示。
高位誘多,建議看看酒田戰法,純K線語言,k線是最真實的,勝過所有指標公式戰法。
3. 請老師寫一個通達信一劍封喉的畫線指標公式,謝謝!
AMV0:=VOL*(O+C+H+L)/4;
勢:EMA(AMV0,21)/EMA(VOL,21);
壓:6*HHV(勢,2)-5*勢;
托:2*勢-壓;
STICKLINE(CLOSE>勢,OPEN,CLOSE,6,1), COLORRED;
STICKLINE(CLOSE=勢,OPEN,CLOSE,6,1), COLORRED;
STICKLINE(CLOSE>勢,LOW,OPEN,0.8,1), COLORRED;
STICKLINE(CLOSE=勢,LOW,OPEN,0.8,1), COLORRED;
STICKLINE(CLOSE>勢,CLOSE,HIGH,0.8,1),COLORRED;
STICKLINE(CLOSE=勢,CLOSE,HIGH,0.8,1),COLORRED;
你想要如何畫線?
4. 135均線是什麼意思
你好,135均線一般在期貨交易中使用的比較多,同時也適用於股票交易,它並不是指135日均線,而是指三根不同日期的均線組合(13日均線、34日均線、55日均線),為投資者提供買賣點信號。
風險揭示:本信息不構成任何投資建議,投資者不應以該等信息取代其獨立判斷或僅根據該等信息作出決策,不構成任何買賣操作,不保證任何收益。如自行操作,請注意倉位控制和風險控制。
5. 低調牛散用一招主升浪戰法復利不停,學會只賺不虧!(附公式)
在操作股票中,很多散戶朋友都非常想穩穩的踏上一波主升浪行情。想必主升浪不用我多說大家都清楚是什麼意思,一般如果能夠抓住一波主升浪行情,你的收益會翻2倍,5倍,10倍,甚至20倍都有可能。通常主升浪行情的出現都是在市場強勢調整後啟動,也是散戶朋友最容易盈利的時候,所以主升浪行情的出現我們一定不能放過。那麼今天擒庄使者就來給大家指導下怎樣去把握主升浪的個股,希望能對粉絲朋友有所幫助,助大家都能戰果累累!文末我也會給大家分享一個主升浪羅盤主圖指標,供大家參考把握!
一、主升浪啟動的特徵:
1)在主升浪行情啟動前,很多個股會出現挖坑現象,以期清洗出潛伏的投資者;
2)啟動迅速,快速拉離成本區;
3)在啟動階段成交量快速放大;
4)股價以大陽線或漲停形式出現。
二、主升浪啟動的典型標志有:
1、剛開始啟動就以漲停或大陽線突破近期的密集成交區。
2、剛開始啟動就以漲停或大陽線突破前期高點,創出新高(這是為什麼我們每天都要去研究漲停板和大漲的股票的原因,因為出現漲停板很有可能就是主升浪的開始)。
此外,還有一點需要引起投資者注意,即絕大多數股票的主升浪行情都是與股市整體的主升浪行情相一致的(在大市上揚時才做,或者至少大市處於震盪平衡區,而在大市單邊下跌或者調整下跌狀態下不做)。在股市走主升浪行情之際,個股的主升浪成功的概率將大大增加。少數個股的主升浪會先於大盤或滯後於大盤,但至少要求在它們向上突破之際,大盤保持相對的穩定。
三、主升浪的四個階段:
1)在60日線(強勢的20日線)附近發出買點;
2)在前期新高附近蓄勢整理;
3)加速突破階段,一劍封喉的位置;
4)最後拉升出局,完成一個波段,重復等待下一個波段。
一般來說,主升浪可分為洗盤→振盪→拉升→出貨四個階段,投資者對應的倉位變化是輕倉→加倉→重倉→出貨。
四、做主升浪注意事項:
前面我說到投資市場都是風險與收益共存,既然有收益必定存在不確認性大盤下跌或者利空消息外力影響,導致突破之後再次下跌並且大跌行情我們怎麼去應對這樣穩健盈利模式下出現的未知風險呢?
1、一旦再次跌破一浪高點平台,我們應該減倉一半操作。等待再次突破一浪拉升行情進行補倉操作;
2、虧損超過20%全線離場止損出局;
3、萬一出錯,嚴格止損;戒貪戒躁,合理贏利。
通達信主升浪羅盤主圖指標
羅盤說明:
1.多方比空方多站1.2%時為後市有牛、7.07%主浪深調、20.31%主浪回調、46.05%主升浪
2.空方比多方多站0.50%時後市初升浪、19.54%底部反彈、33.96%放棄、11.88%觀望
羅盤圖片導入方法:
右鍵看盤軟體——屬性——查找目標——找到T0002——找到signals——將壓縮包內的圖片復制到signals
由於無法上傳附件,需要羅盤圖片文件包的朋友可以找我領取!
N:=20;
M1:=5;
BOLL:MA(CLOSE,N);
UB:BOLL+2*STD(CLOSE,N);
LB:BOLL-2*STD(CLOSE,N);
MA1:MA(CLOSE,M1);
顯示儀表盤1:=1;
總漲幅周期:=350;
范圍高A:=REFDATE(HHV(H,120),DATE)*1.05;
范圍低A:=REFDATE(LLV(L,120),DATE)*0.95;
MA5:MA(C,5),COLORCYAN,LINETHICK2,NODRAW,COLORWHITE;
MA24:MA(C,24),COLORGREEN,LINETHICK2,NODRAW,COLORWHITE;
MA72:MA(C,72),COLORRED,LINETHICK2,NODRAW,COLORWHITE;
MA200:IF((MA(C,200)<=范圍高A AND MA(C,200)>=范圍低A) OR C>=MA(C,200),MA(C,200),DRAWNULL),COLORBLUE,LINETHICK2,NODRAW,COLORWHITE;
{=======================儀表盤=========================}
主升浪:=ISLASTBAR AND MA5>MA24 AND MA24>MA72 AND MA72>IF(MA200=DRAWNULL,0,MA200);
主浪回調:=ISLASTBAR AND MA24>MA5 AND MA5>MA72 AND MA72>IF(MA200=DRAWNULL,0,MA200);
主浪深調:=ISLASTBAR AND MA24>MA72 AND MA72>MA5 AND MA5>IF(MA200=DRAWNULL,0,MA200);
初升浪:=ISLASTBAR AND IF(MA200=DRAWNULL,300,MA200)>MAX(MA24,MA72) AND MA5>MA24 AND MA24>MA72;
底部反彈:=ISLASTBAR AND IF(MA200=DRAWNULL,300,MA200)>MA72 AND MA72>MA24 AND MA5>MA24;
探底階段:=ISLASTBAR AND IF(MA200=DRAWNULL,300,MA200)>MA72 AND MA72>MA24 AND MA24>MA5;
觀望:=ISLASTBAR AND IF(MA200=DRAWNULL,MA24>MA72 AND CMA200 AND C
有牛:=ISLASTBAR AND IF(MA200=DRAWNULL,MA24=MA72,MA72=MA200);
放棄:=ISLASTBAR AND IF(MA200=DRAWNULL,MA24
DRAWGBK(顯示儀表盤1=1 AND 主升浪=0 AND 主浪回調=0 AND 主浪深調=0 AND 初升浪=0 AND 底部反彈=0 AND 探底階段=0 AND 觀望=0 AND 有牛=0 AND 放棄=0,0,0,0,'觀望',0);
DRAWGBK(顯示儀表盤1=1 AND 主升浪,0,0,0,'主升浪',0);
DRAWGBK(顯示儀表盤1=1 AND 主浪回調,0,0,0,'主浪回調',0);
DRAWGBK(顯示儀表盤1=1 AND 主浪深調,0,0,0,'主浪深調',0);
DRAWGBK(顯示儀表盤1=1 AND 初升浪,0,0,0,'初升浪',0);
DRAWGBK(顯示儀表盤1=1 AND 底部反彈,0,0,0,'底部反彈',0);
DRAWGBK(顯示儀表盤1=1 AND 探底階段,0,0,0,'探底階段',0);
DRAWGBK(顯示儀表盤1=1 AND 觀望,0,0,0,'觀望',0);
DRAWGBK(顯示儀表盤1=1 AND 有牛,0,0,0,'有牛',0);
DRAWGBK(顯示儀表盤1=1 AND 放棄,0,0,0,'放棄',0);
{===================彩色K線========================}
STICKLINE(C>O,C,O,3,0),COLOR0000AA;
STICKLINE(C>O,C,O,2.5,0),COLOR0000BB;
STICKLINE(C>O,C,O,1.5,0),COLOR0000CC;
STICKLINE(C>O,C,O,1,0),COLOR0000EE;
STICKLINE(C>O,H,L,0,0),COLOR0000FF;
STICKLINE(C
STICKLINE(C
STICKLINE(C
STICKLINE(C
STICKLINE(C
STICKLINE(C=O,C,O,3,0),COLORWHITE;
STICKLINE(C=O,H,L,0,0),COLORWHITE;
{======================================================}
高點位:=REFDATE(HHV(H,總漲幅周期),DATE);
低點位:=REFDATE(LLV(L,總漲幅周期),DATE);
低位價:=REF(L,BARSLAST(低點位=L)),COLORGREEN;
高位價:=REF(H,BARSLAST(高點位=H)),COLORRED,NODRAW;
曾最大漲幅:=(高位價-低位價)/低位價*100;
當前漲幅:=(C-低位價)/低位價*100;
ZFA:=CON2STR(CONST(曾最大漲幅),2);
ZFB:=CON2STR(CONST(當前漲幅),2);
ZFC:=STRCAT('【曾最大漲幅】:',ZFA);
ZFD:=STRCAT(ZFC,'%');
ZFE:=STRCAT(ZFD,'【當前總漲幅】:');
ZFF:=STRCAT(ZFE,ZFB);
ZFG:=STRCAT(ZFF,'%');
DRAWTEXT_FIX(ISLASTBAR,0,1,0,'▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇'),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0,1,0,ZFG),COLORYELLOW;
{========================額外==========================}
Z1:=STRCAT(DYBLOCK,' ');
Z2:=STRCAT(Z1,HYBLOCK);
Z3:=STRCAT(Z2,' ');
Z4:=STRCAT(Z3,GNBLOCK);
Z5:=STRCAT(Z4,' ');
Z6:=STRCAT(Z5,FGBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.01,0.012,0,STRCAT(Z6,ZHBLOCK)),COLORCYAN;
DRAWTEXT_FIX(1,0,0.075,0,STRCAT('【自定板塊】:',ZDBLOCK)),COLORYELLOW;
{======================================================}
DRAWRECTREL(IF(CODELIKE('999999') OR CODELIKE('399001'),0,760),IF(CODELIKE('999999') OR CODELIKE('399001'),0,12),IF(CODELIKE('999999') OR CODELIKE('399001'),0,890),IF(CODELIKE('999999') OR CODELIKE('399001'),0,70),RGB(255,0,0));
DRAWRECTREL(IF(CODELIKE('999999') OR CODELIKE('399001'),0,760),IF(CODELIKE('999999') OR CODELIKE('399001'),0,12),IF(CODELIKE('999999') OR CODELIKE('399001'),0,890),IF(CODELIKE('999999') OR CODELIKE('399001'),0,70),IF(CONST(DYNAINFO(51))>=1,RGB(0,255,0),RGB(255,0,0)));
NNN1:=CON2STR(CONST(DYNAINFO(51)),2);
NNN2:=STRCAT('【 內外比:',NNN1);
NNN3:=STRCAT(NNN2,' 】');
DRAWTEXT_FIX(IF(CODELIKE('999999') OR CODELIKE('399001'),DRAWNULL,1),0.76,0.015,0,NNN3),COLORYELLOW;
DRAWTEXT_FIX(IF(CODELIKE('999999') OR CODELIKE('399001'),DRAWNULL,CONST(DYNAINFO(51))>=1),0.76,0.015,0,NNN3),COLORBLACK;
{=======================均線解盤===============================}
DRAWRECTREL(0,IF(顯示儀表盤1=0,135,0),IF(顯示儀表盤1=0,288,0),IF(顯示儀表盤1=0,630,0),RGB(0,0,255));
DRAWTEXT_FIX(顯示儀表盤1=0,0.08,0.16,0,'【 均線解盤 】'),COLORWHITE;
DRAWTEXT_FIX(顯示儀表盤1=0,0,0.23,0,'主升浪: 5>24>72>200 '),COLORWHITE;
DRAWTEXT_FIX(顯示儀表盤1=0 AND ISLASTBAR AND MA5>MA24 AND MA24>MA72 AND MA72>MA200,0.238,0.23,0,'≡★≡'),COLORRED;
DRAWTEXT_FIX(顯示儀表盤1=0,0,0.285,0,'主浪回調: 24>5>72>200 '),COLORWHITE;
DRAWTEXT_FIX(顯示儀表盤1=0 AND ISLASTBAR AND MA24>MA5 AND MA5>MA72 AND MA72>MA200,0.238,0.285,0,'≡★≡'),COLORRED;
DRAWTEXT_FIX(顯示儀表盤1=0,0,0.34,0,'主浪深調: 24>72>5>200 '),COLORWHITE;
DRAWTEXT_FIX(顯示儀表盤1=0 AND ISLASTBAR AND MA24>MA72 AND MA72>MA5 AND MA5>MA200,0.238,0.34,0,'≡★≡'),COLORMAGENTA;
DRAWTEXT_FIX(顯示儀表盤1=0,0,0.395,0,'初升浪: 200>5>24>72'),COLORWHITE;
DRAWTEXT_FIX(顯示儀表盤1=0 AND ISLASTBAR AND MA200>MAX(MA24,MA72) AND MA5>MA24 AND MA24>MA72,0.238,0.395,0,'≡★≡'),COLOR0080FF;
DRAWTEXT_FIX(顯示儀表盤1=0,0,0.45,0,'底部反彈: 200>72>5>24'),COLORWHITE;
DRAWTEXT_FIX(顯示儀表盤1=0 AND ISLASTBAR AND MA200>MA72 AND MA72>MA24 AND MA5>MA24,0.238,0.45,0,'≡★≡'),COLORYELLOW;
DRAWTEXT_FIX(顯示儀表盤1=0,0,0.51,0,'探底階段: 200>72>24>5'),COLORWHITE;
DRAWTEXT_FIX(顯示儀表盤1=0 AND ISLASTBAR AND MA200>MA72 AND MA72>MA24 AND MA24>MA5,0.238,0.51,0,'≡★≡'),COLORGREEN;
DRAWTEXT_FIX(顯示儀表盤1=0 AND ISLASTBAR AND MA72>MA200 AND C>=MA200,0,0.565,0,'▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇'),COLORRED;
DRAWTEXT_FIX(顯示儀表盤1=0 AND ISLASTBAR AND MA72>MA200 AND C>=MA200,0,0.565,0,'牛市行情: 72>200 C>200 牛市 ---'),COLORYELLOW;
DRAWTEXT_FIX(顯示儀表盤1=0 AND ISLASTBAR AND MA72>MA200 AND C
DRAWTEXT_FIX(顯示儀表盤1=0 AND ISLASTBAR AND MA72=MA200,0,0.565,0,'▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇'),COLORMAGENTA;
DRAWTEXT_FIX(顯示儀表盤1=0 AND ISLASTBAR AND MA72=MA200,0,0.565,0,'初入牛市: 72<200 C>200 牛到 ---'),COLORWHITE;
DRAWTEXT_FIX(顯示儀表盤1=0 AND ISLASTBAR AND MA72
DRAWTEXT_FIX(顯示儀表盤1=0 AND ISLASTBAR AND MA72
6. 請求高手幫我轉換以下股票公式!轉換成大智慧軟體的公式啊!求助啊!
n:=17;
LH:=79;
EMA1:EMA(C,1);
ema13:ema(c,13),COLORFF8080;
ema34:ema(c,34),colorFFFF00;
ema55:ema(c,55),colorff00ff;
ema120:ema(c,120),COLORGREEN;
MA30:MA(C,30),COLORYELLOW,POINTDOT,LINETHICK2;
生命線:eMA(CLOSE,453),colorff00ff,POINTDOT,LINETHICK2;
LOCK:=1;
M8:=EMA(CLOSE,8);
M13:=EMA(M8,13);
VAR1:=EMA(M13,62);
VAR2:=(CLOSE+HIGH+LOW)/3;
VAR3:=EMA(VAR2,10)*LOCK;
VAR4:=REF(VAR3,1)*LOCK;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,9*0.5,0),COLORFF5B00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8*0.5,0),COLORFF6C00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7*0.5,0),COLORFF7B00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6*0.5,0),COLORFF9C00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5*0.5,0),COLORFFBE00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.5*0.5,0),COLORFFCC00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5*0.5,0),COLORFFFF00;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,9*0.5,0),COLOR070084;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8*0.5,0),COLOR0000A3;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7*0.5,0),COLOR0000B7;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6*0.5,0),COLOR0000CD;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5*0.5,0),COLOR0000E9;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3*0.5,0),COLOR0754E9;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1.5*0.5,0),COLOR076EF3;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1*0.5,0),COLOR077BF3;
STICKLINE(CLOSE>OPEN,OPEN,LOW,1*0.5,0),COLOR0726CA;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,1*0.5,0),COLOR0726CA;
STICKLINE(OPEN>CLOSE,CLOSE,LOW,1*0.5,0),COLORDE9100;
STICKLINE(OPEN>CLOSE,OPEN,HIGH,1*0.5,0),COLORDE9100;
AAA:=MA(C,10);
BBB:=ATAN((AAA/REF(AAA,1)-1)*100)*180/3.1416;
CCC:=FILTER(CROSS(BBB,30),5);
DRAWTEXT(CCC AND C>AAA,AAA*0.95,'十日30∠'),COLORFF00FF;
ar1:=ema55>ema34 and ema34>ema13;
ar2:=BARSLAST((c-ema13)/ema13*100<-6);
ar3:=ema13>=ref(ema13,2);
ar4:=count(cross(c,ema13),ar2)=1;
ar5:=ar1 and ar2 and ar3 and ar4;
ar6:=ar5 and filter(ar5,10);
drawtext(ar6,l-0.09,'紅杏出牆'),COLOR00ccff;
stickline(ar6,h,l,0.5,1),COLOR00ccff;
stickline(ar6,o,c,6,1),linethick2,COLOR00ccff;
br1:=count(BETWEEN((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;
br2:=abs((ema13-ema34)+(ema34-ema55))/c<0.2;
br3:=c>ema55 and (ref(c,1)<ref(ema55,1) or ref(c,2)<ref(ema55,2) or ref(c,3)<ref(ema55,3) or ref(c,4)<ref(ema55,4) or ref(c,5)<ref(ema55,5));
br4:=br1 and br2 and br3;
drawtext(br4 and filter(br4,10),l-0.09,'螞蟻上樹'),color00C5FF;
stickline(br4 and filter(br4,10),h,l,0.5,1),color00C5FF;
stickline(br4 and filter(br4,10),o,c,6,1),linethick2,color00C5FF;
cr1:=(c-ref(c,1))/ref(c,1)*100>0.5;
cr2:=v>ma(v,5)*0.6;
cr3:=count(cross(ema13,ema55),3)=1;
cr4:=abs(ema34-ema55)/ema55<0.03;
cr5:=ema55<=ema120 and ema55>=ref(ema55,1);
cr6:=FILTER(cr1 and cr2 and cr3 and cr4 and cr5,2);
stickline(cr6,h,l,0.5,1),colorf00ff0;
stickline(cr6,o,c,6,1),linethick2,colorf00ff0;
drawtext(cr6,l-0.09,'紅衣俠女'),colorf00ff0;
dr1:=ema13>ema34 and ema34<ema55;
dr2:=BARSLAST(cross(c,ema55) );
dr3:=h=hhv(h,dr2);
dr4:=BARSLAST(dr3);
dr5:=count(o>c and c<ref(c,1) and c>ema55 and BETWEEN((c-ema55)/ema55,0,0.02),dr4)=1;
dr6:=c>ref(c,1) ;
dr7:= dr1 and dr5 and dr6 ;
dr8:=dr7 and FILTER(dr7 ,10);
drawtext(dr8,l-0.09,'黑客點擊'),colord6ba63;
stickline(dr8,h,l,0.5,1),colord6ba63;
stickline(dr8,o,c,6,1),linethick2,colord6ba63;
er:=barslast(ref(cross(ema55,ema34),1)) and cross(ema34,ema55);
DRAWTEXT(er,l-0.09,'均線互換'),color0099ff;
stickline(er,h,l,0.5,1),color0099ff;
stickline(er,o,c,6,1),linethick2,color0099ff;
fr:=barslast(ref(cross(ema34,ema13),1)) and cross(ema13,ema34);
DRAWTEXT(fr,l-0.09,'梅開二度'),colorwhite;
stickline(fr,h,l,0.5,1),colorwhite;
stickline(fr,o,c,6,1),linethick1,colorwhite;
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5) );
gr2:=ema13>ema34 and ema34>ema55 and ema13>ref(ema13,1);
gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
drawtext(gr6 and gr7,h+0.13,'見好就收!'),color00ff00;
DRAWTEXT(gr6 and gr7,h+0.1,'▼'),color00ff00;
hr2:=ema13>=ref(ema13,3) and ema34>=ref(ema34,1) and ema55>=ref(ema55,1) and cross(c,ema13) and cross(c,ema34) and cross(c,ema55);
DRAWTEXT(hr2 and filter(hr2,10),h+0.1,'▲'),colorFFC8FF;
DRAWTEXT(hr2 and filter(hr2,10),h+0.5,'揭竿而起'),color9900cc;
DRAWTEXT(hr2 and filter(hr2,10),l-0.09,'三線推進'),COLORYELLOW;
stickline(hr2 and filter(hr2,10),h,l,0.5,1),COLORYELLOW;
stickline(hr2 and filter(hr2,10),o,c,6,1),linethick2,COLORYELLOW;
SK:= EMA(Var1,13)-EMA(Var1,73);
SD:= EMA(SK,2);
drawtext((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 )
or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)) ,l*0.99,'短'),COLOR0000cc;
stickline((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 )
or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)),h,l,0.5,0),COLOR0000cc;
stickline((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 )
or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)),o,c,10,1),linethick1,COLOR0000cc;
MA1:=MA(((HIGH + LOW) / 2),5);MA2:=MA(((HIGH + LOW) / 2),35);x:=((MA1 - MA2) * 100);
均勢一:=(((((((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) + REF(CLOSE,4)) + REF(CLOSE,5)) + REF(CLOSE,6)) + REF(CLOSE,7)) + REF(CLOSE,8)) / 9);
均勢二:=((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) / 4);
趨勢一:=((((均勢一 - REF(均勢一,1)) / REF(均勢一,1)) * 1000) + 50);
趨勢二:=((((均勢二 - REF(均勢二,1)) / REF(均勢二,1)) * 1000) + 50);
波段高位:=(CROSS(趨勢一,趨勢二) AND (COUNT((CLOSE > REF(HIGH,1)),12) > 5));
LC:=REF(CLOSE,1);
方向值:=((SMA(MAX((CLOSE - LC),0),6,1) / SMA(ABS((CLOSE - LC)),6,1)) * 100);
短抄一:=((CROSS(趨勢二,(趨勢一 + 2)) AND (x < 0)) AND ((方向值 < 10) OR (REF(方向值,1) < 10)));
短抄二:=((((CROSS(趨勢二,MA1) AND (MA1 < 20)) AND (方向值 > 趨勢二)) AND (x < 0)) AND
(((趨勢二 < 20) OR (REF(趨勢二,1) < 15)) OR (REF(趨勢二,2) < 15)));
DRAWTEXT((短抄一 OR 短抄二),(LOW * 0.99),'短底'),Color0000FF;
DRAWTEXT(波段高位,(HIGH * 1.03),'賣出'),colorWhite;
DRAWICON(波段高位,(HIGH * 1.06),2),colorFF0000;DRAWICON((短抄一 OR 短抄二),(LOW * 0.97),1);
V5:=EMA(CLOSE,1);主線:=EMA(V5,5) ;
本:=EMA(HHV(主線,5),1);
急進:=EMA(HHV(本,17),1);
穩健:=EMA(HHV(急進,17),2);
投資:EMA(HHV(穩健,17),3),linethick2, colorgray;
Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
YY1:=C>MA(C,13) AND OPEN<MA(C,13);{一陽三線}
YY3:=C>MA(C,34) AND OPEN<MA(C,34);
YY5:=C>MA(C,55) AND OPEN<MA(C,55);
X2:DRAWTEXT(YY1 AND YY5 AND YY3,LOW-0.1,'一陽三線'),COLORRED;
SJ1:=ABS(MA(CLOSE,13)-MA(CLOSE,34))<C*0.01;{13線34線55線接近}
SJ2:=ABS(MA(CLOSE,34)-MA(CLOSE,55))<C*0.01;
SJ3:=CROSS(MA(CLOSE,13),MA(CLOSE,55));{13線上穿55線}
X3:DRAWTEXT(SJ1 AND SJ2 AND SJ3,HIGH+0.1,'三軍集結'),COLORRED;
RY1:=C/OPEN>1.04;{陽線4%}
RY2:=REF(OPEN,1)/REF(CLOSE,1)>1.04;{陰線4%}
RY3:=ABS(OPEN-REF(C,1))<C*0.02 AND ABS(C-REF(OPEN,1))<C*0.02;{兩線相等}
X4:DRAWTEXT(RY1 AND RY2 AND RY3 ,LOW,'日月合璧'),COLORYELLOW;
JW1:=C<OPEN AND REF(C,1)<REF(OPEN,1);
JW2:=OPEN<REF(C,1) AND C>REF(L,1);
JW3:=O<MA(C,13) AND O<MA(C,34) AND O<MA(C,55);
JW:=JW1 AND JW2 AND JW3;
X8:DRAWTEXT(JW,LOW-0.2,'金屋藏嬌'),COLORYELLOW;
TS1:=CROSS(MA(C,13),MA(C,34));{13線上穿34線}
TS2:=MA(C,13)<MA(C,55);
TS:=TS1 AND TS2;
X9:DRAWTEXT(TS,LOW-0.2,'投石問路'),COLORF00FF0;
YZ1:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;{收陽有上影}
YZ2:=REF(C,1)>REF(O,1) AND O>MA(C,11);{昨收陽 今大於均線}
YZ:=YZ1 AND YZ2 AND Y>10;
X11:DRAWTEXT(YZ,HIGH+0.2,'一枝獨秀'),COLORF00FF0;
DS1:=OPEN/C>1.04 AND O/REF(C,1)>1.03;{高開收陰}
DS2:=V*100/FINANCE2(7)>0.08 AND Y>8;{換手高漲幅大}
DS:=DS1 AND DS2;
X12:DRAWTEXT(DS,HIGH+0.2,'獨上高樓'),COLORGREEN;
YJ1:=H/O>1.04;
YJ2:=ABS(C-O)<C*0.03;
YJ3:=C/MA(C,13)>1.1;
YJ:=YJ1 AND YJ2 AND DS2 AND YJ3 AND YZ2;
X13:DRAWTEXT(YJ,HIGH+0.3,'一劍封喉'),COLORRED;
T:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
TT1:=C<MA(C,13) AND OPEN>MA(C,13);{斷頭鍘刀}
TT3:=C<MA(C,34) AND OPEN>MA(C,34);
TT5:=C<MA(C,55) AND OPEN>MA(C,55);
x28:DRAWTEXT(TT1 AND TT5 AND TT3,LOW-0.6,'斷頭鍘刀'),COLORRED;
x39:DRAWTEXT(CROSS(eMA34,eMA13),eMA34*1.01,'S分道揚鑣'), COLOR00FF00;
x30:DRAWTEXT(CROSS(eMA55,eMA13),eMA55*1.01,'S一箭穿心'), COLOR00FF00;
X31:DRAWTEXT(CROSS(eMA55,eMA34),eMA55*1.01,'S各自為政'), COLOR00FF00;
VAR10:=MA(CLOSE,80)-MA(CLOSE,10)/3;
VAR11:=REF(CLOSE,1);
VAR12:=(SMA(MAX(CLOSE-VAR11,0),N,1))/(SMA(ABS(CLOSE-VAR11),N,1))*100;
X14:DRAWTEXT(IF(CLOSE<VAR10 AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF
(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW-0.7,'進場'),COLORRED;
X16:DRAWTEXT(CROSS(LH,VAR12),HIGH*1.04,'獲利減倉');
X17:DRAWTEXT(CROSS(VAR3,VAR4),L-0.3,'買'),COLORRed;
X18:DRAWTEXT(CROSS(eMA13,eMA34),H+0.5,'投石,增持'),COLORYELLOW;
X19:DRAWTEXT(CROSS(eMA13,eMA55),H+0.3,'紅客,加倉'),COLORYELLOW;
X20:DRAWTEXT(CROSS(eMA34,eMA55),L-0.5,'互換,重倉'),COLORYELLOW;
X21:DRAWTEXT(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>REF(OPEN,1),
L*0.97,'克陰'),COLORFF00FF;
X22:DRAWTEXT(REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<REF(OPEN,1),
H*1.05,'克陽'),COLOR00FF00;
X23:DRAWICON(CROSS(eMA13,eMA34),eMA34,1);
X24:DRAWICON(CROSS(eMA13,eMA55),eMA55,1);
X25:DRAWICON(CROSS(eMA34,eMA55),eMA55,1);
STICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;
FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'←底背'),COLORA6E500;
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.04),'←頂背'),COLOR1880FF;
X35:DRAWICON(CROSS(eMA13,eMA34),eMA34,1);
X36:DRAWICON(CROSS(eMA13,eMA55),eMA55,1);
X37:DRAWICON(CROSS(eMA34,eMA55),eMA55,1);
X38:DRAWICON(CROSS(eMA34,eMA13),eMA34,2);
X139:DRAWICON(CROSS(eMA55,eMA13),eMA55,2);
X40:DRAWICON(CROSS(eMA55,eMA34),eMA55,2);