Experts: N-_Candles_v6

 

N-_Candles_v6:

The Expert Advisor searches for N identical candlesticks in a row. It buys on bullish candlesticks and sells on bearish ones. The account type is taken into account, i.e. whether it is netting or hedging.


Author: Vladimir Karputov

 
Have you posted the source code for the N candles EA for any version

 
Mwinnga Ngandu :
Have you posted the source code for the N candles EA for any version

Each version has its own code:

The Expert Advisor searches for N identical candlesticks in a row. It buys on bullish candlesticks and sells on bearish ones. The EA checks if the account is netting or hedging. The CPositionInfoCTradeCSymbolInfo and CAccountInfo trade classes are used in the code.

Documentation on MQL5: Standard Library / Trade Classes / CPositionInfo
Documentation on MQL5: Standard Library / Trade Classes / CPositionInfo
  • www.mql5.com
Standard Library / Trade Classes / CPositionInfo - Reference on algorithmic/automated trading language for MetaTrader 5
 
Thanks sir.