2016年9月24日 星期六

【MultiCharts】highest/lowest

value1 = highest(high,5);
value2 = lowest(low,5);
if marketposition< 0 then
    buy next bar at value1 stop;//突破高點就買進
if marketposition>=0 then
    sellshort next bar at value2 stop;//跌破低點就賣出
   

沒有留言:

張貼留言