Simple scripe

Place your new trading idea here to see if someone can automate it.
Post Reply
forex.rapheal
Trader
Posts: 46
Joined: Mon Feb 13, 2012 6:46 am

Simple scripe

Post by forex.rapheal »

Dear all expert,
I would like to have a simple script to semi-auto my trading style.
A buy script will buy at the x% (variable manual input) of the previous candle high and low counting from the low.
normally every monring i check the previous daily candle stick and make my decision. e.g. i want to buy today, so the script will calculate the difference of the previous high and low and then times the x%. the script will then put a limit order from x% (e.g 20 pips) from the low or high (option to choose).

For example
previous high 1.52000
previous low 1.51000
i want to buy today
difference 1000 points (100 pips)
manua x% = 25% so the distance should be 25 pips
so the script will put a limit order to buy at 1.51250 or 1.51750 depending on the option
I will then use MPTP to manage the trade

Any expert can help?
Thank you in advance
Post Reply

Return to “Ideas for Possible Automation”