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.


MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: /ru/code/20453
WCCI
A weighted CCI.
maximus_vX lite
The Expert Advisor trades using levels. It can have a maximum of two positions of each type (Buy and Sell) in the market.