精選文章

痞客邦新家新家

歡迎歡迎 (網誌籌備中...) http://qpwoeiruty8097.pixnet.net/blog 以後這邊的東西都會陸續搬過去喔 ~ 

[XS進階]_techscore 20160414



>策略>XS編輯器

[警示]techscore>>
input:score(5,"警示分數");
value1=techscore;
retmsg="techscore:"+numtostr(value1,0);
value2=GetQuote("總量(日)");

if value2>1000 then
ret=value1>=score;



[選股]techscore選股>>
input:score(3,"分數以下");

value1=techscore;
ret=value1<=score;



[指標]techscore>>
value1=techscore;
value2=average(value1,5);

plot1(value1);
plot2(3,"低點");
plot3(10,"高點");
plot4(value2);