源码
a:=LSOLARTERM(date);
DRAWTEXT(a=1,high*1.02,’●小寒’),colorblue;
DRAWTEXT(a=2,high*1.02,’●大寒’),colorblue;
DRAWTEXT(a=3,high*1.02,’●立春’),colorblue;
DRAWTEXT(a=4,high*1.02,’●雨水’),colorblue;
DRAWTEXT(a=5,high*1.02,’●惊蛰’),colorblue;
DRAWTEXT(a=6,high*1.02,’●春分’),colorblue;
DRAWTEXT(a=7,high*1.02,’●清明’),colorblue;
DRAWTEXT(a=8,high*1.02,’●谷雨’),colorblue;
DRAWTEXT(a=9,high*1.02,’●立夏’),colorblue;
DRAWTEXT(a=10,high*1.02,’●小满’),colorblue;
DRAWTEXT(a=11,high*1.02,’●芒种’),colorblue;
DRAWTEXT(a=12,high*1.02,’●夏至’),colorblue;
DRAWTEXT(a=13,high*1.02,’●小暑’),colorblue;
DRAWTEXT(a=14,high*1.02,’●大暑’),colorblue;
DRAWTEXT(a=15,high*1.02,’●立秋’),colorblue;
DRAWTEXT(a=16,high*1.02,’●处暑’),colorblue;
DRAWTEXT(a=17,high*1.02,’●白露’),colorblue;
DRAWTEXT(a=18,high*1.02,’●秋分’),colorblue;
DRAWTEXT(a=19,high*1.02,’●寒露’),colorblue;
DRAWTEXT(a=20,high*1.02,’●霜降’),colorblue;
DRAWTEXT(a=21,high*1.02,’●立冬’),colorblue;
DRAWTEXT(a=22,high*1.02,’●小雪’),colorblue;
DRAWTEXT(a=23,high*1.02,’●大雪’),colorblue;
DRAWTEXT(a=24,high*1.02,’●冬至’),colorblue;
ma5:ma(c,5);
ma10:ma(c,10);
ma20:ma(c,20);
ma30:ma(c,30);
ma60:ma(c,60);
ma120:ma(c,120);
ma250:ma(c,250);
DRAWYITEXT(a=1 or a=2 or a=3 or a=4 or a=5 or a=6 or a=7 or
a=8 or a=9 or a=10 or a=11 or a=12 or a=13 or a=14 or a=15 or
a=16 or a=17 or a=18 or a=19 or a=20 or a=21 or a=22 or a=23 or
a=24,high*1.04,kgua(1, 1),1),colorred;{显示正K象卦名};
DRAWYITEXT(a=1 or a=2 or a=3 or a=4 or a=5 or a=6 or a=7 or
a=8 or a=9 or a=10 or a=11 or a=12 or a=13 or a=14 or a=15 or
a=16 or a=17 or a=18 or a=19 or a=20 or a=21 or a=22 or a=23 or
a=24,low*0.98,99-kgua(1, 1),1),colorblue;{显示反K象卦名};
STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa;
STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb;
STICKLINE(open>=close ,close ,open,2.4,0 ),COLORcccccc;
STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;
STICKLINE(close>open,close,open,9,0 ),COLOr6666cc;
STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd;
STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee;
STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;
STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff;
STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc;
STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;
评论(0)