午马奔腾(主图)} 阶段顶:IF(CURRBARSCOUNT<=9, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=9)),1)),DRAWNULL),COLORGREEN,NODRAW; 半月顶:IF(CURRBARSCOUNT<=20, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=20)),1)),DRAWNULL),COLORGREEN,NODRAW; 月顶:IF(CURRBARSCOUNT<=55, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=55)),1)),DRAWNULL),COLORGREEN,NODRAW; 季顶:IF(CURRBARSCOUNT<=90, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=90)),1)),DRAWNULL),COLORGREEN,NODRAW; 半年顶:IF(CURRBARSCOUNT<=120, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=120)),1)),DRAWNULL),COLORGREEN,NODRAW; 年最高:IF(CURRBARSCOUNT<=250, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=250)),1)),DRAWNULL),COLORGREEN,NODRAW; 阶段底:IF(CURRBARSCOUNT<=13, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=13)),1)),DRAWNULL),COLORYELLOW,NODRAW; 半月底:IF(CURRBARSCOUNT<=23, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=23)),1)),DRAWNULL),COLORYELLOW,NODRAW; 月底:IF(CURRBARSCOUNT<=55, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=55)),1)),DRAWNULL),COLORYELLOW,NODRAW; 季底:IF(CURRBARSCOUNT<=90, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=90)),1)),DRAWNULL),COLORYELLOW,NODRAW; 半年底:IF(CURRBARSCOUNT<=120, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=120)),1)),DRAWNULL),COLORMAGENTA,NODRAW; 年最低:IF(CURRBARSCOUNT<=250, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=250)),1)),DRAWNULL),NODRAW,COLORFFFFFF; DRAWICON(阶段顶=H,IF(H<=6,H+0.05,IF(H>6&&H<28,H+0.5,H+2)),4); DRAWICON(半月顶=H,IF(H<=6,H+0.05,IF(H>6&&H<28,H+0.5,H+2)),15); DRAWICON(月顶=H,IF(H<=6,H+0.05,IF(H>6&&H<28,H+0.5,H+2)),15); DRAWICON(季顶=H,IF(H<=6,H+0.05,IF(H>6&&H<28,H+0.5,H+2)),15); DRAWICON(半年顶=H,IF(H<=6,H+0.05,IF(H>6&&H<28,H+0.5,H+2)),6); DRAWICON(年最高=H,IF(H<=6,H+0.05,IF(H>6&&H<28,H+0.5,H+2)),6); DRAWICON(阶段底=L,IF(L<=6,L-0.05,IF(L>6&&H<28,L-0.5,L-2)),5); DRAWICON(半月底=L,IF(L<=6,L-0.05,IF(L>6&&H<28,L-0.5,L-2)),17); DRAWICON(月底=L,IF(L<=6,L-0.05,IF(L>6&&H<28,L-0.5,L-2)),17); DRAWICON(季底=L,IF(L<=6,L-0.05,IF(L>6&&H<28,L-0.7,L-2)),9); DRAWICON(半年底=L,IF(L<=6,L-0.02,IF(L>6&&L<28,L-0.1,L-2)),9); DRAWICON(年最低=L,IF(L<=6,L-0.01,IF(L>6&&L<28,L-0.3,L-2)),9); GJ:=(C+H+L+O)/4;明日阻力:=L+(GJ-L)+(C-L);明日支撑:=L+(C-GJ); 下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); RRRSV:=SMA(下档线,3,1);KKK:=SMA(RRRSV,3,1);DDDDD:=((3 * RRRSV) - (2 * KKK)); JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); RSV24:=SMA(JJ12,3,1);K24:=SMA(RSV24,3,1);D24:=((3 * RSV24) - (2 * K24)); 压力2:=IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),COLORFFFFFF; 底部:=LLV(HIGH,30),COLOR00FF00;今日阻力:REF(明日阻力 , 1),NODRAW; 今日支撑:REF(明日支撑 , 1),NODRAW;压力位:IF(ISLASTBAR,压力2,DRAWNULL),NODRAW; 底部位:IF(ISLASTBAR,底部,DRAWNULL),NODRAW;高:=REF(HHV(H,80),3); 低:=REF(LLV(L,80),3);H19:=高-(高-低)*0.191;H38:=高-(高-低)*0.382; H中:=高-(高-低)*0.5;H61:=高-(高-低)*0.618;H80:=高-(高-低)*0.809; 顶点:REFDATE(高,DATE),POINTDOT,COLORWHITE; {DRAWTEXT(H>=顶点,H+0.1,'快逃'),COLORYELLOW;} 疯牛19.8:REFDATE(H19,DATE),POINTDOT,COLORYELLOW; 突破38.2:REFDATE(H38,DATE),POINTDOT,COLORMAGENTA; 平衡50:REFDATE(H中,DATE),POINTDOT,COLORRED; 回落61.8:REFDATE(H61,DATE),POINTDOT,COLORGREEN; 安全80.9:REFDATE(H80,DATE),POINTDOT,COLORBLUE; 低点:REFDATE(低,DATE),POINTDOT,COLORWHITE; {DRAWTEXT(L<=低点,L-0.3,'快买'),COLORRED;} DRAWTEXT(ISLASTBAR,顶点,' DRAWTEXT(ISLASTBAR,疯牛19.8,' DRAWTEXT(ISLASTBAR,突破38.2,' DRAWTEXT(ISLASTBAR,平衡50,' DRAWTEXT(ISLASTBAR,回落61.8,' {DRAWTEXT(ISLASTBAR,安全80.9,'安全'),COLORYELLOW}; DRAWTEXT(ISLASTBAR,低点,' 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; DRAWICON(VAR19&&C<MA(C,60),L*0.98,1); DRAWICON(CROSS(LLV(AMOUNT/V/100,3),L) AND V>REF(V,3) AND C>MA(C,60),IF(H<=6,H+0.2,IF(H>6&&H<28,H+0.5,H+2)),2); MA6:EMA(C,6),COLORWHITE,LINETHICK2; MA18:EMA(C,18),COLORGREEN,LINETHICK2; STICKLINE(MA6>MA18 AND MA6>=REF(MA6,1) AND MA18>REF(MA18,1),MA6,MA18,0,0),COLORMAGENTA; STICKLINE(MA6>MA18 AND MA6<REF(MA6,1) AND MA18>=REF(MA18,1),MA6,MA18,0,0),COLORYELLOW; STICKLINE(MA6<MA18 AND MA6<=REF(MA6,1) AND MA18<REF(MA18,1),MA6,MA18,0,0),COLORGREEN; STICKLINE(MA6<MA18 AND MA6>REF(MA6,1) AND MA18<=REF(MA18,1),MA6,MA18,0,0),COLORCYAN; STICKLINE(MA6>MA18 AND MA6>REF(MA6,1) AND MA18<=REF(MA18,1),MA6,MA18,0,0),COLORMAGENTA; STICKLINE(MA6<MA18 AND MA6<REF(MA6,1) AND MA18>=REF(MA18,1),MA6,MA18,0,0),COLORBLUE; 买进:=CROSS(MA6,MA18) AND MA18>=REF(MA18,1)AND C<=MA(C,60); DRAWICON(买进 ,IF(L<=6,L-0.1,IF(L>6&&L<23,L-0.5,L-2)),5); DRAWTEXT(阶段顶=H OR 半月顶=H OR 月顶=H OR 季顶=H OR 半年顶=H OR 年最高=H,IF(H<=6,H+1.5,IF(H>6&&H<28,H+1.5,H+3.5)),'落袋'),COLORCYAN; |
|