一分鐘主圖指標公式畫矩形[通達信公式]
相關標簽:通達信主圖畫線指標 、 通達信主圖指標公式 、 通達信主升浪指標公式 、 通達信主趨勢公式指標 、 通達信bs主圖指標公式 、 通達信第一牛指標公式 、 通達信一條線主圖指標 、 通達信指標公式 、 通達信主散指標公式 、 通達信一根線主圖指標 、
從開盤一分鐘開始,每20分鐘在區間最高價 最低價畫矩形。全天240分鐘,共計十二個矩形 每個矩形上面標注最高價,有沒有用處?自己拿捏。需要就下載 不需要飄過
T:=IF(PERIOD=0,BARSLAST(DATE!=REF(DATE,1)),DRAWNULL);
H1:=FINDHIGH(H,T=20,20,1);
H2:=FINDHIGH(H,T=40,20,1);
H3:=FINDHIGH(H,T=60,20,1);
H4:=FINDHIGH(H,T=80,20,1);
H5:=FINDHIGH(H,T=100,20,1);
H6:=FINDHIGH(H,T=120,20,1);
H7:=FINDHIGH(H,T=140,20,1);
H8:=FINDHIGH(H,T=160,20,1);
H9:=FINDHIGH(H,T=180,20,1);
H10:=FINDHIGH(H,T=200,20,1);
H11:=FINDHIGH(H,T=220,20,1);
H12:=FINDHIGH(H,0,20,1);
L1:=FINDLOW(L,T=20,20,1);
L2:=FINDLOW(L,T=40,20,1);
L3:=FINDLOW(L,T=60,20,1);
L4:=FINDLOW(L,T=80,20,1);
L5:=FINDLOW(L,T=100,20,1);
L6:=FINDLOW(L,T=120,20,1);
L7:=FINDLOW(L,T=140,20,1);
L8:=FINDLOW(L,T=160,20,1);
L9:=FINDLOW(L,T=180,20,1);
L10:=FINDLOW(L,T=200,20,1);
L11:=FINDLOW(L,T=220,20,1);
L12:=FINDLOW(L,0,20,1);
STICKLINE(BETWEEN(T,1,18) AND CURRBARSCOUNT<=240,CONST(REF(H1,BARSLAST(T=19))),CONST(REF(H1,BARSLAST(T=19))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,1,18)AND CURRBARSCOUNT<=240,CONST(REF(L1,BARSLAST(T=19))),CONST(REF(L1,BARSLAST(T=19))),6,0),COLORYELLOW;
STICKLINE((T=0 OR T=19)AND CURRBARSCOUNT<=240,CONST(REF(H1,BARSLAST(T=19))),CONST(REF(L1,BARSLAST(T=19))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,21,38)AND CURRBARSCOUNT<=240,CONST(REF(H2,BARSLAST(T=39))),CONST(REF(H2,BARSLAST(T=39))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,21,38)AND CURRBARSCOUNT<=240,CONST(REF(L2,BARSLAST(T=39))),CONST(REF(L2,BARSLAST(T=39))),6,0),COLORYELLOW;
STICKLINE((T=20 OR T=39)AND CURRBARSCOUNT<=240,CONST(REF(H2,BARSLAST(T=39))),CONST(REF(L2,BARSLAST(T=39))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,41,58)AND CURRBARSCOUNT<=240,CONST(REF(H3,BARSLAST(T=59))),CONST(REF(H3,BARSLAST(T=59))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,41,58)AND CURRBARSCOUNT<=240,CONST(REF(L3,BARSLAST(T=59))),CONST(REF(L3,BARSLAST(T=59))),6,0),COLORYELLOW;
STICKLINE((T=40 OR T=59)AND CURRBARSCOUNT<=240,CONST(REF(H3,BARSLAST(T=59))),CONST(REF(L3,BARSLAST(T=59))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,61,78)AND CURRBARSCOUNT<=240,CONST(REF(H4,BARSLAST(T=79))),CONST(REF(H4,BARSLAST(T=79))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,61,78)AND CURRBARSCOUNT<=240,CONST(REF(L4,BARSLAST(T=79))),CONST(REF(L4,BARSLAST(T=79))),6,0),COLORYELLOW;
STICKLINE((T=60 OR T=79)AND CURRBARSCOUNT<=240,CONST(REF(H4,BARSLAST(T=79))),CONST(REF(L4,BARSLAST(T=79))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,81,98)AND CURRBARSCOUNT<=240,CONST(REF(H5,BARSLAST(T=99))),CONST(REF(H5,BARSLAST(T=99))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,81,98)AND CURRBARSCOUNT<=240,CONST(REF(L5,BARSLAST(T=99))),CONST(REF(L5,BARSLAST(T=99))),6,0),COLORYELLOW;
STICKLINE((T=80 OR T=99)AND CURRBARSCOUNT<=240,CONST(REF(H5,BARSLAST(T=99))),CONST(REF(L5,BARSLAST(T=99))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,101,118)AND CURRBARSCOUNT<=240,CONST(REF(H6,BARSLAST(T=119))),CONST(REF(H6,BARSLAST(T=119))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,101,118)AND CURRBARSCOUNT<=240,CONST(REF(L6,BARSLAST(T=119))),CONST(REF(L6,BARSLAST(T=119))),6,0),COLORYELLOW;
STICKLINE((T=100 OR T=119)AND CURRBARSCOUNT<=240,CONST(REF(H6,BARSLAST(T=119))),CONST(REF(L6,BARSLAST(T=119))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,121,138)AND CURRBARSCOUNT<=240,CONST(REF(H7,BARSLAST(T=139))),CONST(REF(H7,BARSLAST(T=139))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,121,138)AND CURRBARSCOUNT<=240,CONST(REF(L7,BARSLAST(T=139))),CONST(REF(L7,BARSLAST(T=139))),6,0),COLORYELLOW;
STICKLINE((T=120 OR T=139)AND CURRBARSCOUNT<=240,CONST(REF(H7,BARSLAST(T=139))),CONST(REF(L7,BARSLAST(T=139))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,141,158)AND CURRBARSCOUNT<=240,CONST(REF(H8,BARSLAST(T=159))),CONST(REF(H8,BARSLAST(T=159))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,141,158)AND CURRBARSCOUNT<=240,CONST(REF(L8,BARSLAST(T=159))),CONST(REF(L8,BARSLAST(T=159))),6,0),COLORYELLOW;
STICKLINE((T=140 OR T=159)AND CURRBARSCOUNT<=240,CONST(REF(H8,BARSLAST(T=159))),CONST(REF(L8,BARSLAST(T=159))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,161,178)AND CURRBARSCOUNT<=240,CONST(REF(H9,BARSLAST(T=179))),CONST(REF(H9,BARSLAST(T=179))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,161,178)AND CURRBARSCOUNT<=240,CONST(REF(L9,BARSLAST(T=179))),CONST(REF(L9,BARSLAST(T=179))),6,0),COLORYELLOW;
STICKLINE((T=160 OR T=179)AND CURRBARSCOUNT<=240,CONST(REF(H9,BARSLAST(T=179))),CONST(REF(L9,BARSLAST(T=179))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,181,198)AND CURRBARSCOUNT<=240,CONST(REF(H10,BARSLAST(T=199))),CONST(REF(H10,BARSLAST(T=199))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,181,198)AND CURRBARSCOUNT<=240,CONST(REF(L10,BARSLAST(T=199))),CONST(REF(L10,BARSLAST(T=199))),6,0),COLORYELLOW;
STICKLINE((T=180 OR T=199)AND CURRBARSCOUNT<=240,CONST(REF(H10,BARSLAST(T=199))),CONST(REF(L10,BARSLAST(T=199))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,201,218)AND CURRBARSCOUNT<=240,CONST(REF(H11,BARSLAST(T=219))),CONST(REF(H11,BARSLAST(T=219))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,201,218)AND CURRBARSCOUNT<=240,CONST(REF(L11,BARSLAST(T=219))),CONST(REF(L11,BARSLAST(T=219))),6,0),COLORYELLOW;
STICKLINE((T=200 OR T=219)AND CURRBARSCOUNT<=240,CONST(REF(H11,BARSLAST(T=219))),CONST(REF(L11,BARSLAST(T=219))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,221,238)AND CURRBARSCOUNT<=240,CONST(REF(H12,BARSLAST(T=239))),CONST(REF(H12,BARSLAST(T=239))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,221,238)AND CURRBARSCOUNT<=240,CONST(REF(L12,BARSLAST(T=239))),CONST(REF(L12,BARSLAST(T=239))),6,0),COLORYELLOW;
STICKLINE((T=220 OR T=239)AND CURRBARSCOUNT<=240,CONST(REF(H12,BARSLAST(T=239))),CONST(REF(L12,BARSLAST(T=239))),0,0),COLORYELLOW;
DRAWTEXT(T=0 AND CURRBARSCOUNT<=240,CONST(REF(H1,BARSLAST(T=19)))*1.003,STRCAT(STRCAT('最高價:',VAR2STR(CONST(REF(H1,BARSLAST(T=19))),2)),'元'))COLORYELLOW;
DRAWTEXT(T=20 AND CURRBARSCOUNT<=240,CONST(REF(H2,BARSLAST(T=39)))*1.003,STRCAT(STRCAT('最高價:',VAR2STR(CONST(REF(H2,BARSLAST(T=39))),2)),'元'))COLORYELLOW;
DRAWTEXT(T=40 AND CURRBARSCOUNT<=240,CONST(REF(H3,BARSLAST(T=59)))*1.003,STRCAT(STRCAT('最高價:',VAR2STR(CONST(REF(H3,BARSLAST(T=59))),2)),'元'))COLORYELLOW;
DRAWTEXT(T=60 AND CURRBARSCOUNT<=240,CONST(REF(H4,BARSLAST(T=79)))*1.003,STRCAT(STRCAT('最高價:',VAR2STR(CONST(REF(H4,BARSLAST(T=79))),2)),'元'))COLORYELLOW;
DRAWTEXT(T=80 AND CURRBARSCOUNT<=240,CONST(REF(H5,BARSLAST(T=99)))*1.003,STRCAT(STRCAT('最高價:',VAR2STR(CONST(REF(H5,BARSLAST(T=99))),2)),'元'))COLORYELLOW;
DRAWTEXT(T=100 AND CURRBARSCOUNT<=240,CONST(REF(H6,BARSLAST(T=119)))*1.003,STRCAT(STRCAT('最高價:',VAR2STR(CONST(REF(H6,BARSLAST(T=119))),2)),'元'))COLORYELLOW;
DRAWTEXT(T=120 AND CURRBARSCOUNT<=240,CONST(REF(H7,BARSLAST(T=139)))*1.003,STRCAT(STRCAT('最高價:',VAR2STR(CONST(REF(H7,BARSLAST(T=139))),2)),'元'))COLORYELLOW;
DRAWTEXT(T=140 AND CURRBARSCOUNT<=240,CONST(REF(H8,BARSLAST(T=159)))*1.003,STRCAT(STRCAT('最高價:',VAR2STR(CONST(REF(H8,BARSLAST(T=159))),2)),'元'))COLORYELLOW;
DRAWTEXT(T=160 AND CURRBARSCOUNT<=240,CONST(REF(H9,BARSLAST(T=179)))*1.003,STRCAT(STRCAT('最高價:',VAR2STR(CONST(REF(H9,BARSLAST(T=179))),2)),'元'))COLORYELLOW;
DRAWTEXT(T=180 AND CURRBARSCOUNT<=240,CONST(REF(H10,BARSLAST(T=199)))*1.003,STRCAT(STRCAT('最高價:',VAR2STR(CONST(REF(H10,BARSLAST(T=199))),2)),'元'))COLORYELLOW;
DRAWTEXT(T=200 AND CURRBARSCOUNT<=240,CONST(REF(H11,BARSLAST(T=219)))*1.003,STRCAT(STRCAT('最高價:',VAR2STR(CONST(REF(H11,BARSLAST(T=219))),2)),'元'))COLORYELLOW;
DRAWTEXT(T=220 AND CURRBARSCOUNT<=240,CONST(REF(H12,BARSLAST(T=239)))*1.003,STRCAT(STRCAT('最高價:',VAR2STR(CONST(REF(H12,BARSLAST(T=239))),2)),'元'))COLORYELLOW;DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容