Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

MTrainer Strategy Tester - expert for MetaTrader 4

Views:
14404
Rating:
(3)
Published:
2011.04.01 08:27
Updated:
2014.04.21 14:55
MTrainer.mq4 (20.23 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance



When you start the MTrainer in the Strategy Tester you will see 2 lines, or 3 lines if you entered a number for PCRate. These lines represent Stop Loss (SLcolor) level Take Profit (TPcolor) level and Partial Close (PCcolor) level. Move these lines into position to represent your next order, then drop a new horizontal line on the chart where you want to place an order. The default color for a new order is DimGray (OScolor) so you must insure the color of this line is the same as what you selected in the parameters. MTrainer determines what type of order you want based on the positions of the SL and TP lines. The name doesnt matter as the MTrainer will replace it with a Pending Order (OPcolor) line. Deleting the Pending Order line will delete the order.

Once your order is pending, you can still move the lines around to modify your order. If you move the pending order line, the order is deleted and a new order sent. Moving SL and TP lines simply modifies your existing order. Moving the PC line does nothing to the order but will signal a partial close when an open order price crosses it. Its effective only once per order. With an Open Order you are still free to move the SL, TP and PC lines to change your order. The color will change to the Open Order color (OOcolor). Deleting and Open Order line will close the order.

Have Fun.




EMAplusWPRv1_1 EMAplusWPRv1_1

Expert advisor that trade in the trend of EMA and buy/sell signals get from Williams %R

ZMFX Forex Trend v3 ZMFX Forex Trend v3

Trend of 8 pairs on one chart

Place OCO Order, One pip Limit Order and One Pip Stop Order Place OCO Order, One pip Limit Order and One Pip Stop Order

Places OCO Order, One pip Limit Order and One Pip Stop Order on Metatrader 4 platform.

GMACD GMACD

Wonderful for scalpers