Lavoro terminato
Specifiche
We need a script that will auto-trade based on the MACD histogram. The script will follow the spread between MACD Line & Signal Line (green bar graph), and swing position in according to the swings of the green bar. For example, we would open a position of 100 long when the bar hits the trough and go up, and once it hits peak and goes down, we would switch to 100 short position, and vice versa continuously.
Configurable Settings for user:
-Pairing (ex:AUS/USD)
-MACD Fast Line (configurable - ex. 15)
-MACD Slow Line (configurable - ex. 35)
-Signal Line (configurable - ex. 9)
-Lot per trade (configurable - ex. 100 lot = buy/sell 100 lots)
-Next swing trade has to be double original lot traded for a Net of the same amount but in the opposite position
-Trailing stop loss setting (configurable - ex. 10 pips)
-Amount of trades automatically executed before stopping (configurable)
**We would like to be able to back test this method