




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、工作線主圖技術指標(輔助判斷)ma5:ma(c,5);ma10:ma(c,10);工作線:ema(ema(ema(c,13),3),3);mid:ma(close,26);upper:mid + 2*std(close,26);lower:mid - 2*std(close,26);底分型公式(選股及預警)v00:= highref(high,1) and lowref(low,1);v01:= highref(low,1);v02:= highref(high,1) and lowref(high,1) and lowref(low,1);v04:= ref(high,2) high and
2、 ref(low,2) ref(high,1) and ref(low,2) =1 and llvbars(low,3) = 1 and v03;v2:= count(v00,4)=1 and llvbars(low,4) = 2 and v04;v3:= count(v00,4)=1 and count(v01 or v02,4)=1 and llvbars(low,4) = 1 and v03;v4:= count(v00,5)=1 and count(v01 or v02,5)=2 and llvbars(low,5) = 2 and v04;xg:v1 or v2 or v3 or v
3、4; 筆底分型 (確保向下筆成立后的底分型)(選股 預警)v00:= highref(high,1) and lowref(low,1);v01:= highref(low,1);v02:= highref(high,1) and lowref(high,1) and lowref(low,1);v04:= ref(high,2) high and ref(low,2) ref(high,1) and ref(low,2) =3 and count(v01 or v02,5)=0 and llvbars(low,6) = 1 and hhvbars(high,6) = 5 and v03;v2
4、:= count(v00,7)=3 and count(v01 or v02,6)=1 and llvbars(low,7) = 2 and hhvbars(high,7) = 6 and v04;v3:= count(v00,7)=3 and count(v01 or v02,6)=1 and llvbars(low,7) = 1 and hhvbars(high,7) = 6 and v03;v4:= count(v00,8)=3 and count(v01 or v02,7)= 7 and v04;v5:= count(v00,8)=3 and count(v01 or v02,7)=
5、7 and v03;v6:= count(v00,9)=3 and count(v01 or v02,8)= 8 and v04;v7:= count(v00,9)=3 and count(v01 or v02,8)= 8 and v03;v8:= count(v00,10)=3 and count(v01 or v02,9)= 9 and v04;v9:= count(v00,10)=3 and count(v01 or v02,9)= 9 and v03;v10:= count(v00,11)=3 and count(v01 or v02,10)= 10 and v04;xg:v1 or
6、v2 or v3 or v4 or v5 or v6 or v7 or v8 or v9 or v10;動態翻譯:v00賦值: 最高價昨日最高價 and 最低價昨日最低價v01賦值: 最高價昨日最低價v02賦值: 最高價昨日最高價 and 最低價昨日最高價 and 最低價昨日最低價v04賦值: 2日前的最高價 最高價 and 2日前的最低價 昨日最高價 and 2日前的最低價 =1 and 3日內最低價距今天數 = 1 and v03v2賦值: 統計4日中滿足v00的天數=1 and 4日內最低價距今天數 = 2 and v04v3賦值: 統計4日中滿足v00的天數=1 and 統計4日中滿足
7、v01orv02的天數=1 and 4日內最低價距今天數 = 1 and v03v4賦值: 統計5日中滿足v00的天數=1 and 統計5日中滿足v01orv02的天數=2 and 5日內最低價距今天數 = 2 and v04輸出xg:(v1 or v2 or v3 or v4)筆頂分型(確保向上筆成立后的頂分型 )( 選股 預警 )v00:= highref(high,1) and lowref(low,1);v01:= highref(low,1);v02:= highref(high,1) and lowref(low,1);v03:= highref(high,1) and low h
8、igh and ref(low,2) low and ref(high,2) ref(high,1) and ref(low,2) =3 and count(v01 or v02,5)=0 and hhvbars(high,6) = 1 and llvbars(low,6) = 5 and v03;v2:= count(v00,7)=3 and count(v01 or v02,6)=1 and hhvbars(high,7) = 2 and llvbars(low,7) = 6 and v04;v3:= count(v00,7)=3 and count(v01 or v02,6)=1 and
9、 hhvbars(high,7) = 1 and llvbars(low,7) = 6 and v03;v4:= count(v00,8)=3 and count(v01 or v02,7)= 7 and v04;v5:= count(v00,8)=3 and count(v01 or v02,7)= 7 and v03;v6:= count(v00,9)=3 and count(v01 or v02,8)= 8 and v04;v7:= count(v00,9)=3 and count(v01 or v02,8)= 8 and v03;v8:= count(v00,10)=3 and cou
10、nt(v01 or v02,9)= 9 and v04;v9:= count(v00,10)=3 and count(v01 or v02,9)= 9 and v03;v10:= count(v00,11)=3 and count(v01 or v02,10)= 10 and v04;xg:xg: v1 or v2 or v3 or v4 or v5 or v6 or v7 or v8 or v9 or v10;動態翻譯:v00賦值: 最高價昨日最高價 and 最低價昨日最低價v01賦值: 最高價昨日最低價v02賦值: 最高價昨日最高價 and 最低價昨日最低價v03賦值: 最高價昨日最高價
11、and 最低價 最高價 and 2日前的最低價 最低價 and 2日前的最高價 昨日最高價 and 2日前的最低價 =3 and 統計5日中滿足v01orv02的天數=0 and 6日內最高價距今天數 = 1 and 6日內最低價距今天數 = 5 and v03v2賦值: 統計7日中滿足v00的天數=3 and 統計6日中滿足v01orv02的天數=1 and 7日內最高價距今天數 = 2 and 7日內最低價距今天數 = 6 and v04v3賦值: 統計7日中滿足v00的天數=3 and 統計6日中滿足v01orv02的天數=1 and 7日內最高價距今天數 = 1 and 7日內最低價距
12、今天數 = 6 and v03v4賦值: 統計8日中滿足v00的天數=3 and 統計7日中滿足v01orv02的天數= 7 and v04v5賦值: 統計8日中滿足v00的天數=3 and 統計7日中滿足v01orv02的天數= 7 and v03v6賦值: 統計9日中滿足v00的天數=3 and 統計8日中滿足v01orv02的天數= 8 and v04v7賦值: 統計9日中滿足v00的天數=3 and 統計8日中滿足v01orv02的天數= 8 and v03v8賦值: 統計10日中滿足v00的天數=3 and 統計9日中滿足v01orv02的天數= 9 and v04v9賦值: 統計1
13、0日中滿足v00的天數=3 and 統計9日中滿足v01orv02的天數= 9 and v03v10賦值: 統計11日中滿足v00的天數=3 and 統計10日中滿足v01orv02的天數= 10 and v04輸出xg:v1 or v2 or v3 or v4 or v5 or v6 or v7 or v8 or v9 or v10頂分型 (預警)v00:= highref(high,1) and lowref(low,1);v01:= highref(high,1) and low high and ref(low,2) low and ref(high,2) ref(high,1) an
14、d ref(low,2) =2 and hhvbars(high,4) = 1 and v01;v2:= count(v00,5)=2 and hhvbars(high,5) = 2 and v02;v3:= count(v00,5)=2 and hhvbars(high,5) = 1 and v01;v4:= count(v00,6)=2 and hhvbars(high,6) = 2 and v02;xg: v1 or v2 or v3 or v4;短線底部(預警選股)快金yxg:=if(troughbars(3,6,1)=0 and highlow+0.1,2,0) and (index
15、c-ma(indexc,70)/ma(indexc,70)=dxl and ref(動向流,1)ref(dxl,3) and ref(動向流,1)low+0.01;xg: bias50 and macdref(macd,1),macd,0);macdhx:=if(macd0 and macdref(macd,1),macd,0);macdlx:=if(macd0 and macdref(macd,1),macd,0);macdls:=if(macdref(macd,1),macd,0);stickline(macdhs0,0,macd,7,0),color0000ee;stickline(ma
16、cdhs0,0,macd,6,0),color0000ff;stickline(macdhs0,0,macd,5,0),color0033ff;stickline(macdhs0,0,macd,4,0),color3355ff;stickline(macdhs0,0,macd,3,0),color6677ff;stickline(macdhs0,0,macd,2,0),color8888ff;stickline(macdhs0,0,macd,1,0),color9999ff;stickline(macdhx0,0,macd,7,0),color0099cc;stickline(macdhx0,
17、0,macd,6,0),color00aadd;stickline(macdhx0,0,macd,5,0),color00bbdd;stickline(macdhx0,0,macd,4,0),color00ccee;stickline(macdhx0,0,macd,3,0),color00ddee;stickline(macdhx0,0,macd,2,0),color00eeff;stickline(macdhx0,0,macd,1,0),color00ffff;stickline(macdlx0,macd,0,7,0),color990000;stickline(macdlx0,macd,0
18、,6,0),coloraa2200;stickline(macdlx0,macd,0,5,0),colorbb4400;stickline(macdlx0,macd,0,4,0),colorcc7700;stickline(macdlx0,macd,0,3,0),colordd9900;stickline(macdlx0,macd,0,2,0),coloreebb00;stickline(macdlx0,macd,0,1,0),colorffcc00;stickline(macdls0,macd,0,7,0),color005500;stickline(macdls0,macd,0,6,0),
19、color007700;stickline(macdls0,macd,0,5,0),color009900;stickline(macdls0,macd,0,4,0),color00bb00;stickline(macdls0,macd,0,3,0),color00dd00;stickline(macdls0,macd,0,2,0),color00ee00;stickline(macdls0,macd,0,1,0),color00ff00;綠柱面積:if (macd0),0),linethick0,colorred;紅柱面積:if (macd0,sum(macd,barslast(macd0
20、and macd=0 ,hhv(macd,8),+ref(紅柱面積,1),colorred;drawtext(ref(macd,1)=0 ,llv(macd,4),+ref(abs(綠柱面積),1),color00ff00;drawtext(islastbar=2 and macd0,hhv(macd,4),+abs(紅柱面積),colorred;macd底背離公式(選股)diff:=ema(close,12) - ema(close,26);dea:=ema(diff,9);macd:=2*(diff-dea);qzq:=barslast(ref(macd,1)0);qm:=llvbars(
21、macd,qzq+20);mqdz:=if(qmqzq,ref(macd,qm),0);xg1:=macdmqdz and close=llv(close,qzq+20) and mqdzref(macd,1);macd雙底背離公式(選股)diff:=ema(close,12) - ema(close,26);dea:=ema(diff,9);macd:=2*(diff-dea);qzq:=barslast(ref(macd,1)0);qm:=llvbars(macd,qzq+20);mqdz:=if(qmqzq,ref(macd,qm),0);qf:=llvbars(diff,qzq+20)
22、;dqdz:=if(qfqzq,ref(diff,qf),0);xg1:=macdmqdz and diffdqdz and close=llv(close,qzq+20) and mqdz0 and dqdzref(macd,1);頂底輔助判斷動向流 (參數n:4,2,20)動向流:(ma(close,2)-ref(ma(close,2),n)/ref(ma(close,2),n),colorffff00;ployline(1,ma(動向流,2),colorffff00;ployline(1,ma(動向流,4),colorffd800;ployline(1,ma(動向流,6),colorff
23、a600;ployline(1,ma(動向流,8),colorff6800;ployline(1,ma(動向流,10),colorff3800;ployline(1,ma(動向流,12),colord1ff00;ployline(1,ma(動向流,14),colorabff00;ployline(1,ma(動向流,16),color68ff00;ployline(1,ma(動向流,18),color3eff00;ployline(1,ma(動向流,20),colorff8cff;ployline(1,ma(動向流,22),colorc88cff;ployline(1,ma(動向流,24),co
24、lorc854ff;ployline(1,ma(動向流,26),color7354ff;ployline(1,ma(動向流,28),color7f00ff;ployline(1,ma(動向流,30),color0000ff;一陽穿兩線(選股)m1:=ma(c,5);m2:=ma(c,13);一陽1:=om1;一陽2:=om2;一陽穿二線:一陽1+一陽21;一陽穿三線(選股)m1:=ma(c,5);m2:=ma(c,18);m3:=ma(c,34);一陽1:=om1;一陽2:=om2;一陽3:=om3;一陽穿三線:一陽1+一陽2+一陽32;纏論第三買點(選股)a1:=hhv(h,ls*0.7)t
25、ufendou;a2:=hhv(h,ls*4)tufendou;a3:=ref(hhv(h,ls*4),ls*0.7)tufendou;a4:=llv(l,ls/10)tufendou;選股:tufendoua1=a2 and a1=a3*1.2 and a4a3;波浪底抓黑馬(選股)a1:=3*sma(c-llv(l,55)/(hhv(h,55)-llv(l,55)*100,5,1)-2*sma(c-llv(l,55)/(hhv(h,55)-llv(l,55)*100,5,1);黑馬線:=ema(a1,5);a4:=(c-llv(l,21)/(hhv(h,21)-llv(l,21)*100;
26、趨勢線:=(ma(3*sma(a4,6,1)-2*sma(sma(a4,5,1),5,1),2);大黑馬:cross(趨勢線,0) and 黑馬線a2 or 波段買入a3 and cross(c,zx) and vol0,10,0);企穩向上(選股)ema13:=ema(c,13);ema34:=ema(c,34);ema55:=ema(c,55);ar1:=ema55ema34 and ema34ema13;ar2:=barslast(c-ema13)/ema13*100=ref(ema13,2);ar4:=count(cross(c,ema13),ar2)=1;ar5:=ar1 and a
27、r2 and ar3 and ar4;企穩向上:ar5 and filter(ar5,10);一陰破三(選股)m1:=ma(c,5);m2:=ma(c,18);m3:=ma(c,34);一陰1:=om1 and cm1;一陰2:=om2 and cm2;一陰3:=om3 and cm3;一陰破三線:一陰1+一陰2+一陰3open and close=high,gtyx,0)2.5;波段王(選股)量能飽和度:if(amount/c)/(hhv(amount,20)/hhv(c,20)*100100,100,(amount/c)/(hhv(amount,20)/hhv(c,20)*100),nod
28、raw;aa10:ma(close,8),color0000ff;aa12:ma(close,12),color0000ff;bb10:=(atan(aa10 - ref(aa10,1) * 3.1416) * 10);bb12:=(atan(aa12 - ref(aa12,1) * 3.1416) * 10);ma13:=ma(close,13);drawband(aa10,rgb(150,50,50),aa12,rgb(0,100,50);x1:=(c+l+h)/3;bb13:=atan(ema(x1,13)-ref(ema(x1,13),1)*3.1416*10;ema8:=ema(c,
29、8);drawtext(filter(bb131 and ema(x1,13)ref(ema(x1,8),1),10),ema8,45上升),colorwhite;壓力:ma(ref(hhv(c,30),1),2),color9dffff;支撐:ma(ref(llv(c,30),1),2),colorabff46;aa1:=amount/v;bb1:=l1.2;dd1:=lma(c,5)*0.921;ee1:=vma(v,5)*1.5;ff1:=bb1 and cc1 and dd1 and ee1;drawtext(ff1,(low* 0.99),老鼠倉),color4080ff;a51:=
30、3*sma(c-llv(l,55)/(hhv(h,55)-llv(l,55)*100,5,1)-2*sma(c-llv(l,55)/(hhv(h,55)-llv(l,55)*100,5,1);黑碼線:=ema(a51,5);a54:=(c-llv(l,21)/(hhv(h,21)-llv(l,21)*100;趨勢線:=(ma(3*sma(a54,6,1)-2*sma(sma(a54,5,1),5,1),2);drawtext(cross(趨勢線,0)and 黑碼線40,(high* 0.97),大黑碼),coloryellow;lc:=ref(close,1);rsi:=(sma(max(cl
31、ose - lc),0),3,1) / sma(abs(close - lc),3,1) * 100);ff:=ema(close,3);ma15:=ema(close,21);drawtext(cross(ff,ma15),(low * 0.99),底背離),colora6e500;drawtext(cross(88,rsi),(high * 1.02),頂背離),color1880ff;var2:=llv(low,27);var3:=hhv(high,34);var4:=ema(close-var2)/(var3-var2)*4,4)*25;注意買:=if(var410),80,100);
32、rsv:=(c-llv(l,9)/(hhv(h,9)-llv(l,9)*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;超跌:=if(j0,10,0);bddd:=llv(j,2)=llv(j,8);買入:=if(cross(j,ref(j+0.01,1) and bddd and j20,30,0);drawtext(買入 and 注意買=100 and 超跌=0,low,短線),color8000ff;mtm:=c-ref(c,1);dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);買:=if(llv
33、(dx,2)=llv(dx,7) and count(dxopen,open,low,0,0 ),color0000ff;stickline(closeopen,close,high,0,0 ),color0000ff;stickline(open=close,close,low,0,0 ),color00ff00;stickline(open=close,open,high,0,0 ),color00ff00;stickline(open=close ,close ,open,3,0 ),colorff8800;stickline(open=close ,close ,open,2,0 ),
34、colorffaa00;stickline(open=close ,close ,open,1,0 ),colorffcc00;stickline(open=close ,close ,open,0,0 ),colorffee00;stickline(closeopen,close,open,3,0) ,color000066;stickline(closeopen,close,open,2,0) ,color000088;stickline(closeopen,close,open,1,0) ,color0000aa;stickline(closeopen,close,open,0,0) ,
35、color0000cc;var9q:=c=hhv(c,4) and (ref(c,1)=ref(c,2) or ref(c,1)=ref(c,3) or ref(c,1)=hhv(c,4) and close=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c=ref(c,1) or ref(c,3)=hhv(c,4) and c=ref(c,1) and c=ref(c,2);stickline(var9q,c,(o+c)/2,3,0),color000066;stickline(var9q,c,(o+c)/2,2,0),col
36、or000088;stickline(var9q,c,(o+c)/2,1,0),color0000aa;stickline(var9q,c,(o+c)/2,0,0),color0000cc;varaq:=c=hhv(c,4) and ref(c,1)=llv(c,4);stickline(varaq,c,(o+c)/2,3,0),colorff22ff;stickline(varaq,c,(o+c)/2,2,0),colorff44ff;stickline(varaq,c,(o+c)/2,1,0),colorff66ff;stickline(varaq,c,(o+c)/2,0,0),colorff88ff;varbq:=c=llv(c,4) and (ref(c,1)ref(c,2) or ref(c,1)ref(c,3) or ref(c,1)=llv(c,4) and chhv(c,4) or ref(c,1)hhv(c,4) and cref(c,1) or ref(c,3)=llv(c,4) and cref(c,1) and c=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)=ref(c,3) and ref(c,2)=ref(c,1);stickline(varcq,o,(
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 經濟運行管理及財務知識分析
- 湖北省鄂州市華容區2024-2025學年數學三下期末質量跟蹤監視試題含解析
- 哈爾濱工業大學《鋼琴即興伴奏(一)》2023-2024學年第二學期期末試卷
- 邯鄲應用技術職業學院《給排水施工與監理》2023-2024學年第二學期期末試卷
- 佳木斯職業學院《馬克思主義哲學原著》2023-2024學年第二學期期末試卷
- 湖南益陽箴言中學2024-2025學年普通高中畢業班單科質量檢查語文試題含解析
- 山東省2025屆高三下學期診斷性考試化學試題含解析
- 河海大學《發酵食品工藝學》2023-2024學年第一學期期末試卷
- 湖南理工職業技術學院《土木工程檢測技術》2023-2024學年第二學期期末試卷
- 海口經濟學院《病原生物學與免疫學實驗(微免)》2023-2024學年第二學期期末試卷
- 2016眾泰t600運動版原廠維修手冊與電路圖-使用說明
- Sigma-Delta-ADC講稿教學講解課件
- 《春秋三傳導讀》課件
- 教師情緒和壓力疏導課件
- 麻醉科進修匯報課件
- ISO-IEC 27002-2022中文版完整詳細
- 【計算機應用基礎試題】上海中僑職業技術大學2022年練習題匯總(附答案解析)
- 艾滋病(AIDS)經典課件
- 義務教育質量監測小學四年級 德育模擬試卷附答案
- 年產5萬噸電石爐窯節能改造項目環境影響后評價報告
- 國內外材料牌號對照
評論
0/150
提交評論