|
Value1 = Highest(High,BarsSinceEntry) ;
value2 = Value1 - EntryPrice;
Value3 = Lowest(Low,BarsSinceEntry) ;
Value4 = EntryPrice - Value3;
if MarketPosition > 0 then Begin
if Value2 >= 150 and Value2 < 300 then Sell next bar at Value1-100 stop
else if Value2 >= 300 then Sell next bar at Value1-150 stop ;
end;
if MarketPosition < 0 then Begin
if Value4 >= 150 and Value4 < 300 then BuytoCover next bar at Value3+100 stop else if Value4 >= 300 then Sell next bar at Value3+150 stop ;
end;
試試看囉
|
評分
-
查看全部評分
|