我们在分析股票时,不能单独的仅看个股,而要考虑到上证指数,即大环境大背景。 a1:="1A0001$open";a2:="1A0001$close"; a3:="1A0001$high";a4:="1A0001$low"; stickline(a1<=a2,a4,a1,1,1),colorred;stickline(a1<=a2,a1,a2,8,1),colorred; stickline(a1<=a2,a2,a3,1,1),colorred;stickline(a1>a2,a4,a3,1,0),colorfefe03; stickline(a1>a2,a1,a2,8,0),colorfefe03; 开:a1,linethick0,colorff00ff,precis2;收:a2,linethick0,coloryellow,precis2; 高:a3,linethick0,colorff00ff,precis2;低:a4,linethick0,colorff00ff,precis2; 量:"1A0001$vol"/10000,linethick0,precis0,coloryellow; 额:"1A0001$amount"/10000,linethick0,precis0,coloryellow; 日期:=date-ref(date,1); a6:=month=1 and ref(month,1)=12 and between(day,0,6) and between(ref(day,1),26,32); a7:=month=ref(month,1) and day-ref(day,1)>10 and 日期<100; drawtext(if(日期>100,日期 and not(a6),a7),if(a2>3000,a3*1.025,a3*1.045),'★',-5),coloryellow; |
