2016年9月23日 星期五

【MultiCharts】基礎語法

open:開盤價
close:收盤價
high:最高價
low:最低價
volume:量

high[3]:往前第三根K棒的最高價
low[3]:往前第三根K棒的最低價

highest(low,3) :前三根K棒低點的最大值

 if close> high[1] then
    buy next bar at market;
 if close< high[1] then
    sellshort  next bar at market;

buy:買入
sellshort:平倉

sell:賣出
buytocover:平倉

買入後,30點停損
sell next bar at entryprice-30 stop;

買入後,30點停利
sell next bar at entryprice+30 limit;

沒有留言:

張貼留言