Join our fan page
- Views:
- 4818
- Rating:
- Published:
- 2018.07.13 15:11
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
An unorthodox approach to indicator MACD: The EA calculates the indicator's area displayed above and below zero line.
Depending on parameter "Reverse signal", either BUY or SELL positions will be opened.
Inputs:
- Stop Loss (in pips) - stop loss value
- Take Profit (in pips) - take profit value
- Trailing Stop (in pips) - trailing
- Trailing Step (in pips) - trailing step
- Lots (or "Lots">0 and "Risk"==0 or "Lots"==0 and "Risk">0) - lot size is set manually
- Risk (or "Lots">0 and "Risk"==0 or "Lots"==0 and "Risk">0) - lot size is calculated dynamically
- Number of bars to search for the area of the indicators - amount of bars, on which the indicator's area is calculated
- Reverse signal
//--- MACD parameters
- period for Fast average calculation
- period for Slow average calculation
- period for their difference averaging
- type of price
Lot size calculation method impact: Whether the lot size is constant or dynamic
Fig. 1. Constant lot size
Fig. 2. Dynamic lot size
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21124

A trading system based on object Fibonacci Lines (OBJ_FIBO) and on indicator Resistance & Support

ADX trend smoothed - multi time frame

Candlestick size and shadow analysis. In OnTradeTransaction, opening (DEAL_ENTRY_IN) and closing (DEAL_ENTRY_OUT) the positions are intercepted, as well as closing by Stop loss (DEAL_REASON_SL).

Indicator Atr Lite calculates the average price motion