源码
和易:=REF(CLOSE,1);
郑:=SMA(MAX(CLOSE-和易,0),7,1)/SMA(ABS(CLOSE-和易),7,1)*100,color0066ff,LINETHICK2;
短线买入预警:STICKLINE( CROSS(20,郑),20,50,4,0),COLORCCFF66;
短线买入:STICKLINE( CROSS(郑,20),0,50,8,0),COLORGREEN,,LINETHICK2;
江:=SMA(MAX(CLOSE-和易,0),7,1)/SMA(ABS(CLOSE-和易),7,1)*100,color0066ff,linethick2;
短线卖出预警:STICKLINE( CROSS(江,80),50,80,4,0),COLOR8888FF;
短线卖出:sTICKLINE( CROSS(80,江),50,100,8,0),COLORRED,LINETHICK2;
50,colorred;
a:=LSOLARTERM(date);
DRAWTEXT(a=1,50,'●小寒'),colorblue;
DRAWTEXT(a=2,50,'●大寒'),colorblue;
DRAWTEXT(a=3,50,'●立春'),colorblue;
DRAWTEXT(a=4,50,'●雨水'),colorblue;
DRAWTEXT(a=5,50,'●惊蛰'),colorblue;
DRAWTEXT(a=6,50,'●春分'),colorblue;
DRAWTEXT(a=7,50,'●清明'),colorblue;
DRAWTEXT(a=8,50,'●谷雨'),colorblue;
DRAWTEXT(a=9,50,'●立夏'),colorblue;
DRAWTEXT(a=10,50,'●小满'),colorblue;
DRAWTEXT(a=11,50,'●芒种'),colorblue;
DRAWTEXT(a=12,50,'●夏至'),colorblue;
DRAWTEXT(a=13,50,'●小暑'),colorblue;
DRAWTEXT(a=14,50,'●大暑'),colorblue;
DRAWTEXT(a=15,50,'●立秋'),colorblue;
DRAWTEXT(a=16,50,'●处暑'),colorblue;
DRAWTEXT(a=17,50,'●白露'),colorblue;
DRAWTEXT(a=18,50,'●秋分'),colorblue;
DRAWTEXT(a=19,50,'●寒露'),colorblue;
DRAWTEXT(a=20,50,'●霜降'),colorblue;
DRAWTEXT(a=21,50,'●立冬'),colorblue;
DRAWTEXT(a=22,50,'●小雪'),colorblue;
DRAWTEXT(a=23,50,'●大雪'),colorblue;
DRAWTEXT(a=24,50,'●冬至'),colorblue;