公式是死的,人是活的,靈活運(yùn)用,僅供參考。。。。 名稱: 黃金線上陽蓋陰 王子老師口訣“黃金線上陽蓋陰,逢低介入七成金”,是指黃金線形成后往往有回踩動作陽蓋陰的形態(tài),這時介入的安全性就比較高,后勢漲的可能性比較大。 本指標(biāo)能夠精準(zhǔn)回踩黃金柱更關(guān)鍵價位如下: 1、黃金柱的虛底(最低價)、黃金柱的實(shí)底(開盤價)、黃金柱后三天的虛底(最低價)、黃金柱后三天的的實(shí)底(最低實(shí)體價)、黃金柱的二一位(一般是指大陽線二一位); 2、回踩又分位K線的虛底回踩和實(shí)底回踩。 黃金線上陽蓋陰選股公式能選出(倍量將軍柱黃金線)所有十種回踩攻防線的形態(tài)的個股。 指標(biāo)源碼:(沒學(xué)過量學(xué),我也不會用) {公式名稱: 黃金線陽蓋陰 公式描述: 0=長陽,1=將軍柱,2=次黃金,3=黃金,4=標(biāo)準(zhǔn)黃金 參數(shù)數(shù)量: 6 參數(shù)1: 基柱是倍量, 最小: 0, 最大: 1, 缺省: 1 參數(shù)2: 基柱類型, 最小: 0, 最大: 4, 缺省: 1 參數(shù)3: 顯示板塊, 最小: 0, 最大: 1, 缺省: 1 參數(shù)4: 回踩誤差千分之, 最小: 0, 最大: 20, 缺省: 5 參數(shù)5: 顯示黃金線, 最小: 0, 最大: 1, 缺省: 1 參數(shù)6: 回踩類型, 最小: 0, 最大: 4, 缺省: 0 公式類型: 技術(shù)指標(biāo)公式-其他類型 畫線方法: 主圖疊加 公式版本: 0 顯示小數(shù): 缺省位數(shù) 坐標(biāo)線位置: 自動 額外Y軸分界: 無 參數(shù)精靈: 請?jiān)O(shè)置計(jì)算參數(shù): 基柱是倍量: Param#0 (0.00--1.00) 基柱類型: Param#1 (0.00--4.00) 顯示板塊: Param#2 (0.00--1.00) 回踩誤差千分之: Param#3 (0.00--20.00) 顯示黃金線: Param#4 (0.00--1.00) 回踩類型: Param#5 (0.00--4.00) 用法注釋: 參數(shù)設(shè)置: 基柱是倍量: 1=倍量,0=小倍量; 基柱類型: 0=長陽,1=將軍柱,2=次黃金柱,3=黃金柱,4=標(biāo)準(zhǔn)黃金柱; 顯示板塊: 0=不顯示,1=顯示; 回踩誤差千分之: 陽蓋陰附近回踩點(diǎn)與黃金線的距離誤差千分比; 公式源碼:} DRAWTEXT_FIX(顯示板塊 AND ISLASTBAR,0,0,0,HYBLOCK); DRAWTEXT_FIX(顯示板塊 AND ISLASTBAR,0.05,0,0,DYBLOCK); DRAWTEXT_FIX(顯示板塊 AND ISLASTBAR,0.1,0,0,GNBLOCK); STICKLINE(REF(LOW,1)>HIGH,HIGH,REF(LOW,1),5,0),COLORGRAY; STICKLINE(REF(HIGH,1)<LOW,LOW,REF(HIGH,1),5,0),COLORGRAY; C_:CONST(CLOSE),POINTDOT,COLORLIRED; XA_1:=MA(CLOSE,5); MA5角度:ATAN((XA_1/REF(XA_1,1)-1)*100)*180/3.1416,NODRAW; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); XA_2:=REF(CLOSE,1); XA_3:=IF(CLOSE>=1,10000,100000); XA_4:=1.1*XA_2-49/XA_3; XA_5:=1.05*XA_2-49/XA_3; XA_6:=0.9*XA_2+51/XA_3; XA_7:=0.95*XA_2+51/XA_3; XA_8:=NAMELIKE(1) OR NAMELIKE(2); XA_9:=IF(XA_8,CLOSE>=XA_5,CLOSE>=XA_4); XA_10:=IF(XA_8,CLOSE<=XA_7,CLOSE<=XA_6); XA_11:=IF(XA_8,HIGH>=XA_5,HIGH>=XA_4); XA_12:=IF(XA_8,LOW<=XA_7,LOW<=XA_6); STICKLINE(XA_11,HIGH,MAX(CLOSE,OPEN),0,0),COLORMAGENTA; STICKLINE(XA_12,LOW,MIN(CLOSE,OPEN),0,0),COLORLICYAN; XA_13:=CLOSE>OPEN AND (CLOSE>=XA_5 OR CLOSE>1.05*OPEN-51/XA_3) OR (CLOSE>1000 AND CLOSE>XA_2*1.024); STICKLINE(XA_13,OPEN,CLOSE,1,0),COLOR0000BB; XA_14:=CLOSE<OPEN AND (CLOSE<=XA_7 OR CLOSE<0.95*OPEN+49/XA_3) OR (CLOSE>1000 AND CLOSE<XA_2*0.976); STICKLINE(XA_14,OPEN,CLOSE,1,0),COLORLIGREEN; STICKLINE(XA_9,OPEN,CLOSE,1,0),COLORMAGENTA; STICKLINE(XA_10,OPEN,CLOSE,1,0),COLORLICYAN; XA_15:=CLOSE<OPEN AND CLOSE>REF(CLOSE,1); STICKLINE(XA_15,OPEN,CLOSE,0,0),COLORRED; XA_16:=CLOSE>OPEN AND CLOSE<REF(CLOSE,1); STICKLINE(XA_16,OPEN,CLOSE,0,0),COLORGREEN; XA_17:=PERIOD=5 AND NAMELIKE(3) AND (ABS(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.025 OR ABS(CLOSE-OPEN)>=60); STICKLINE(XA_17,(HIGH+LOW)/2,(HIGH+LOW)/2,2,0),COLORYELLOW; XA_18:=MIN(CLOSE,OPEN); XA_19:=基柱類型; XA_20:=LLV(CLOSE,3)>=REF(XA_18,3); XA_21:=IF(基柱是倍量=1,1.8,1.1); XA_22:=10; XA_23:=FILTER(BACKSET(FILTER(REF(VOL,XA_22)=HHV(VOL,2*XA_22+1),XA_22),XA_22+1),XA_22); XA_24:=VOL>=REF(VOL,1)*XA_21 OR XA_23; XA_25:=CLOSE/REF(CLOSE,1)>1 OR CLOSE/OPEN>1; XA_26:=REF(XA_25,3) AND XA_20; XA_27:=CLOSE>REF(CLOSE,1); XA_28:=CLOSE>REF(MAX(CLOSE,OPEN),1) AND XA_25; XA_29:=XA_24 AND XA_28; XA_30:=REF(XA_29,3) AND XA_20; XA_31:=MA(CLOSE,3)>=REF(CLOSE,3) AND CLOSE>=REF(CLOSE,3); XA_32:=MA(VOL,3)<=REF(VOL,3)*1.03; XA_33:=XA_30 AND XA_31 AND XA_32; XA_34:=HHV(VOL,3)<=REF(VOL,3)*1.03; XA_35:=LLV(CLOSE,3)>=REF(CLOSE,3); XA_36:=XA_33 AND XA_35 AND XA_34; XA_37:=COUNT(XA_27,3)=3; XA_38:=COUNT(VOL<REF(VOL,1),3)=3; XA_39:=XA_36 AND XA_37 AND XA_38; 基柱:IF(XA_19=1,XA_30,IF(XA_19=2,XA_33,IF(XA_19=3,XA_36,IF(XA_19=4,XA_39,XA_26)))),NODRAW; XA_40:=BARSLAST(FILTER(基柱,3)); XA_41:=REF(LOW,XA_40+3); XA_42:=LLV(XA_18,XA_40)>=XA_41 AND XA_41=REF(XA_41,1); 底線:IF(XA_42,XA_41,DRAWNULL),COLORYELLOW; STICKLINE(基柱,XA_41,XA_41,25,0),COLORYELLOW; XA_43:=LLV(LOW,XA_40); XA_44:=LLV(XA_18,XA_40); 基柱O:REF(OPEN,XA_40+3),NODRAW; XA_45:=REF(LLV(LOW,3),XA_40); XA_46:=顯示黃金線=1 AND XA_44>=XA_45 AND XA_45=REF(XA_45,1); XA_47:=IF(XA_45<XA_41,XA_41,XA_45); 黃金虛線:IF(XA_46,XA_47,DRAWNULL),POINTDOT,COLORYELLOW; STICKLINE(顯示黃金線=1 AND 基柱 OR XA_46,XA_47,XA_47,17,(-1)),COLORYELLOW; 黃金實(shí)線:REF(LLV(XA_18,3),XA_40),NODRAW,COLORMAGENTA; STICKLINE(顯示黃金線=1 AND 基柱,黃金實(shí)線,黃金實(shí)線,15,1),COLORBROWN; XA_48:=黃金實(shí)線>=XA_41; XA_49:=XA_44>=XA_41; XA_50:=回踩誤差千分之*CLOSE/1000; XA_51:=IF(XA_50<0.01,0.01,XA_50); XA_52:=ABS(XA_43-XA_41)<=XA_51; XA_53:=ABS(XA_43-基柱O)<=XA_51; XA_54:=ABS(XA_43-黃金虛線)<=XA_51; XA_55:=ABS(XA_43-黃金實(shí)線)<=XA_51; XA_56:=ABS(XA_44-XA_41)<=XA_51; XA_57:=ABS(XA_44-基柱O)<=XA_51; XA_58:=ABS(XA_44-黃金虛線)<=XA_51; XA_59:=ABS(XA_44-黃金實(shí)線)<=XA_51; XA_60:=IF(回踩類型=1 OR 回踩類型=0,XA_52 OR XA_56,0); XA_61:=IF(回踩類型=2 OR 回踩類型=0,XA_53 OR XA_57,0); XA_62:=IF(回踩類型=3 OR 回踩類型=0,XA_54 OR XA_58,0); XA_63:=IF(回踩類型=4 OR 回踩類型=0,XA_55 OR XA_59,0); XA_64:=XA_60 OR XA_61 OR XA_62 OR XA_63 AND XA_48 AND XA_49; XA_65:=LOW=XA_43 OR XA_18=XA_44; XA_66:=BARSLAST(XA_65); XA_67:=VOL<REF(VOL,1) AND 1; XA_68:=REF(CLOSE<OPEN,1) AND CLOSE>OPEN AND CLOSE>REF(MAX(CLOSE,OPEN),1); XA_69:=XA_64 AND XA_68 AND XA_40>=1 AND XA_66<=2; XA_70:=COUNT(XA_69,1); DRAWICON(XA_70,LOW*0.98,1); 指標(biāo)導(dǎo)入到手機(jī)點(diǎn)擊 ? |
|