//请使用上证指数查看;
//当然我们也可以做股票定投;
基线:SUM("1A0001$CLOSE",0)/SUM("1A0001$CLOSE">0,0)*2,LINETHICK;
PARTLINE(STKLABEL='1A0001',基线),coloryellow;
金額:ROUND(基线/"1A0001$CLOSE"*基线/"1A0001$CLOSE"*基线/"1A0001$CLOSE"*基线/"1A0001$CLOSE"*500/100)*100,LINETHICK;
股票数:金額/C,LINETHICK;
BB:=BARPOS=SYSPARAM(1);
POLYLINE(MONTH<>REF(MONTH,1),c);
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=100,L,'100'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=200,L,'200'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=300,L,'300'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=400,L,'400'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=500,L,'500'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=600,L,'600'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=700,L,'700'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=800,L,'800'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=900,L,'900'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=1000,L,'1000'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=1100,L,'1100'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=1200,L,'1200'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=1300,L,'1300'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=1400,L,'1400'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=1500,L,'1500'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=1600,L,'1600'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=1700,L,'1700'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=1800,L,'1800'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=1900,L,'1900'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=2000,L,'2000'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=2100,L,'2100'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=2200,L,'2200'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=2300,L,'2300'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=2400,L,'2400'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=2500,L,'2500'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=2600,L,'2600'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=2700,L,'2700'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=2800,L,'2800'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=2900,L,'2900'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=3000,L,'3000'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=3100,L,'3100'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=3200,L,'3200'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=3300,L,'3300'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=3400,L,'3400'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=3500,L,'3500'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=3600,L,'3600'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=3700,L,'3700'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=3800,L,'3800'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=3900,L,'3900'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=4000,L,'4000'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=4100,L,'4100'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=4200,L,'4200'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=4300,L,'4300'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=4400,L,'4400'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=4500,L,'4500'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=4600,L,'4600'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=4700,L,'4700'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=4800,L,'4800'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=4900,L,'4900'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=5000,L,'5000'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=5100,L,'5100'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=5200,L,'5200'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=5300,L,'5300'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=5400,L,'5400'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=5500,L,'5500'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=5600,L,'5600'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=5700,L,'5700'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=5800,L,'5800'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=5900,L,'5900'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=6000,L,'6000'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=6100,L,'6100'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=6200,L,'6200'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=6300,L,'6300'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=6400,L,'6400'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=6500,L,'6500'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=6600,L,'6600'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=6700,L,'6700'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=6800,L,'6800'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=6900,L,'6900'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=7000,L,'7000'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=7100,L,'7100'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=7200,L,'7200'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=7300,L,'7300'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=7400,L,'7400'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=7500,L,'7500'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=7600,L,'7600'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=7700,L,'7700'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=7800,L,'7800'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=7900,L,'7900'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=8000,L,'8000'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=8100,L,'8100'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=8200,L,'8200'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=8300,L,'8300'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=8400,L,'8400'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=8500,L,'8500'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=8600,L,'8600'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=8700,L,'8700'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=8800,L,'8800'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=8900,L,'8900'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=9000,L,'9000'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=9100,L,'9100'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=9200,L,'9200'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=9300,L,'9300'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=9400,L,'9400'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MONTH,1) and 金額=9500,L,'9500'),COLORYELLOW;
DRAWTEXT(MONTH<>REF(MO |