The expert advisor open 2 positions once its loaded and close them once presetted profit in dollars is reached and then open 2 positions again and so on all over the day. Here you can see the live results of HedgeTrader online running. There is no stop loss or trailing stop or break even , trade will be left till profit points reached. Commisions inserted as pre setted value in $ usd to be subtracted from profit before closing trades to make sure that they ends on profit. Parameters: - Lot1=1.0 - Trading lot for 1 symbol
- Lot2=1.0 - Trading lot for 2 symbol
- Sym1="GBPUSD" - 1 trading symbol, uppercase
- Sym2="USDCHF" - 2 trading symbol, uppercase
- Operation1="buy" - operation for 1 symbol, can be buy or sell
- Operation2="buy" - operation for 2 symbol, can be buy or sell
- Commission1=0.0 - Commission for 1 symbol per 1 lot
- Commission2=0.0 - Commission for 2 symbol per 1 lot
- Profit=100.0 - total profit, when we should close all orders, including all commissions.
The price incudes source code for the expert. Here is the results from live testing: Name: HedgeTrader Currency: USD Closed Transactions: Open Time Type Lots Item Price Close Time Price Swap Profit 23.11.2005 13:09 buy 1.00 gbpusd 1,7217 24.11.05 9:59 1,7234 6,75 170.00 23.11.2005 13:10 buy 1.00 usdchf 1,3153 24.11.05 9:59 1,3137 6,29 -121.79 24.11.2005 9:59 buy 1.00 gbpusd 1,7239 24.11.05 10:21 1,7237 0,00 -20.00 24.11.2005 9:59 buy 1.00 usdchf 1,3144 24.11.05 10:21 1,3154 0,00 76.02 24.11.2005 10:21 buy 1.00 gbpusd 1,7241 24.11.05 10:28 1,7249 0,00 80.00 24.11.2005 10:21 buy 1.00 usdchf 1,3159 24.11.05 10:28 1,3156 0,00 -22.80 24.11.2005 10:28 buy 1.00 gbpusd 1,7252 24.11.05 11:30 1,7278 0,00 260.00 24.11.2005 10:28 buy 1.00 usdchf 1,3160 24.11.05 11:30 1,3133 0,00 -205.59 24.11.2005 11:30 buy 1.00 gbpusd 1,7281 30.11.05 15:05 1,7263 9,00 -180.00 24.11.2005 11:30 buy 1.00 usdchf 1,3138 30.11.05 15:05 1,3170 8,37 242.98 30.11.2005 15:05 buy 1.00 gbpusd 1,7265 30.11.05 16:23 1,7291 0,00 260.00 30.11.2005 15:05 buy 1.00 usdchf 1,3174 30.11.05 16:23 1,3145 0,00 -220.62 30.11.2005 16:23 buy 1.00 gbpusd 1,7294 30.11.05 16:33 1,7306 0,00 120.00 30.11.2005 16:23 buy 1.00 usdchf 1,3149 30.11.05 16:33 1,3139 0,00 -76.11 30.11.2005 16:33 buy 1.00 gbpusd 1,7312 30.11.05 16:39 1,7328 0,00 160.00 30.11.2005 16:33 buy 1.00 usdchf 1,3144 30.11.05 16:39 1,3131 0,00 -99.00 30.11.2005 16:39 buy 1.00 gbpusd 1,7330 30.11.05 16:51 1,7340 0,00 100.00 30.11.2005 16:39 buy 1.00 usdchf 1,3135 30.11.05 16:51 1,3128 0,00 -53.32 30.11.2005 16:51 buy 1.00 gbpusd 1,7346 01.12.05 16:51 1,7293 6,75 -530.00 30.11.2005 16:51 buy 1.00 usdchf 1,3133 01.12.05 16:51 1,3211 6,27 590.42 01.12.2005 16:51 buy 1.00 gbpusd 1,7295 01.12.05 17:31 1,7311 0,00 160.00 01.12.2005 16:51 buy 1.00 usdchf 1,3215 01.12.05 17:31 1,3201 0,00 -106.05 01.12.2005 17:31 buy 1.00 gbpusd 1,7313 01.12.05 18:45 1,7326 0,00 130.00 01.12.2005 17:31 buy 1.00 usdchf 1,3206 01.12.05 18:45 1,3197 0,00 -68.20 01.12.2005 18:45 buy 1.00 gbpusd 1,7330 05.12.05 14:43 1,7407 4,50 770.00 01.12.2005 18:45 buy 1.00 usdchf 1,3202 05.12.05 14:43 1,3108 4,18 -717.12 52,11 698.82 Closed P/L: 750.93
|