Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Unisciti alla nostra fan page
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Futures Portfolio Control Expiration - sistema esperto per MetaTrader 5
- Visualizzazioni:
- 7323
- Valutazioni:
- Pubblicato:
- 2018.06.06 14:34
- Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
The Expert Advisor demonstrates the use of functions from the Current Next Futures script, which enables automatic switch to a new futures before expiration. The EA opens a position of the appropriate volume on three instruments, which are specified in input parameters. Negative volume values are used for sell positions, positive ones are for buy positions. A few hours before the expiration of the futures (specified in hours_before_expiration), the EA closes the position and opens a new one on the new futures symbol.
Input Values
- Symbol1 - a short name of the first symbol;
- Symbol2 - a short name of the second symbol;
- Symbol3 - a short name of the third symbol;
- Lot1 - volume for the first symbol;
- Lot2 - volume for the second symbol;
- Lot3 - volume for the third symbol;
- hours_before_expiration - how many hours before expiration the EA should switch to a new futures symbols.
Warning: The Expert Advisor has not been tested in real trading. It is designed for use in the Strategy Tester.
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/20453
WCCI
A weighted CCI.
maximus_vX liteThe Expert Advisor trades using levels. It can have a maximum of two positions of each type (Buy and Sell) in the market.