時間(時間之窗)
時間之窗:=HHVBARS(ZIG(3,M)>REF(ZIG(3,M),1)
AND REF(ZIG(3,M), 1)<REF(ZIG(3,M), 2),N); DRAWTEXT(時間之窗=1,L*0.94,'>'),COLORRED; STICKLINE(時間之窗=2,L*0.95,L*0.98,2,0),COLORYELLOW; DRAWTEXT(時間之窗=2,L*0.94,'3天'),COLORRED; DRAWTEXT(時間之窗=3,H*1.06,'>'),COLORGREEN; STICKLINE(時間之窗=4,H*1.05,H*1.02,2,0),COLORYELLOW; DRAWTEXT(時間之窗=4,H*1.06,'5天'),COLORGREEN; DRAWTEXT(時間之窗=6,L*0.94,'>'),COLORRED; STICKLINE(時間之窗=7,L*0.95,L*0.98,2,0),COLORYELLOW; DRAWTEXT(時間之窗=7,L*0.94,'8天'),COLORRED; DRAWTEXT(時間之窗=11,H*1.06,'>'),COLORGREEN; STICKLINE(時間之窗=12,H*1.05,H*1.02,2,0),COLORYELLOW; DRAWTEXT(時間之窗=12,H*1.06,'13天'),COLORGREEN; DRAWTEXT(時間之窗=19,L*0.94,'>'),COLORLIRED; STICKLINE(時間之窗=20,L*0.95,L*0.98,2,0),COLORYELLOW; DRAWTEXT(時間之窗=20,L*0.94,'21天'),COLORLIRED; DRAWTEXT(時間之窗=32,H*1.06,'>'),COLORLIGREEN; STICKLINE(時間之窗=33,H*1.05,H*1.02,2,0),COLORYELLOW; DRAWTEXT(時間之窗=33,H*1.06,'34天'),COLORLIGREEN; DRAWTEXT(時間之窗=53,L*0.94,'>'),COLORLIRED; STICKLINE(時間之窗=54,L*0.95,L*0.98,2,0),COLORYELLOW; DRAWTEXT(時間之窗=54,L*0.94,'55天'),COLORLIRED; DRAWTEXT(時間之窗=87,H*1.06,'>'),COLORLIGREEN; STICKLINE(時間之窗=88,H*1.05,H*1.02,2,0),COLORYELLOW; DRAWTEXT(時間之窗=88,H*1.06,'89天'),COLORLIGREEN; DRAWTEXT(時間之窗=142,L*0.94,'>'),COLORLIRED; STICKLINE(時間之窗=143,L*0.95,L*0.98,2,0),COLORYELLOW; DRAWTEXT(時間之窗=143,L*0.94,'144天'),COLORLIRED; DRAWTEXT(時間之窗=231,H*1.06,'>'),COLORLIGREEN; STICKLINE(時間之窗=232,H*1.05,H*1.02,2,0),COLORYELLOW; DRAWTEXT(時間之窗=232,H*1.06,'233天'),COLORLIGREEN; DRAWTEXT(時間之窗=375,L*0.94,'>'),COLORLIRED; STICKLINE(時間之窗=376,L*0.95,L*0.98,2,0),COLORYELLOW; DRAWTEXT(時間之窗=376,L*0.94,'377天'),COLORLIRED; DRAWTEXT(時間之窗=608,H*1.06,'>'),COLORLIGREEN; |
|