You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Thanks a bunch for the code.
doesn't compile.
You're fooling me. I just checked in the terminal.
EA version 1.001.
Compilation result - zero errors:
'EA Stochastic.mq5' EA Stochastic.mq5 1 1 'PositionInfo.mqh' PositionInfo.mqh 1 1 'Object.mqh' Object.mqh 1 1 'StdLibErr.mqh' StdLibErr.mqh 1 1 'Trade.mqh' Trade.mqh 1 1 'OrderInfo.mqh' OrderInfo.mqh 1 1 'HistoryOrderInfo.mqh' HistoryOrderInfo.mqh 1 1 'DealInfo.mqh' DealInfo.mqh 1 1 'SymbolInfo.mqh' SymbolInfo.mqh 1 1 'AccountInfo.mqh' AccountInfo.mqh 1 1 'MoneyFixedMargin.mqh' MoneyFixedMargin.mqh 1 1 'ExpertMoney.mqh' ExpertMoney.mqh 1 1 'ExpertBase.mqh' ExpertBase.mqh 1 1 'Indicators.mqh' Indicators.mqh 1 1 'Trend.mqh' Trend.mqh 1 1 'Indicator.mqh' Indicator.mqh 1 1 'Series.mqh' Series.mqh 1 1 'ArrayObj.mqh' ArrayObj.mqh 1 1 'Array.mqh' Array.mqh 1 1 'ArrayDouble.mqh' ArrayDouble.mqh 1 1 'Oscilators.mqh' Oscilators.mqh 1 1 'Volumes.mqh' Volumes.mqh 1 1 'BillWilliams.mqh' BillWilliams.mqh 1 1 'Custom.mqh' Custom.mqh 1 1 'TimeSeries.mqh' TimeSeries.mqh 1 1 'ArrayInt.mqh' ArrayInt.mqh 1 1 'ArrayLong.mqh' ArrayLong.mqh 1 1 code generated 1 1 0 errors, 0 warnings, 2218 msec elapsed 1 1Hello! Please explain the algorithm of the Expert Advisor operation
Signals are taken from stochastics.
The signal to open a BUY position:
STO (Main line) on bar #0 < 'Stochastic signal (level UP)' AND STO (Main line) on bar #'Compared bar (not a "0"!)'-1 < 'Stochastic signal (level UP) '
For SELL it is similar. The block of signals is formed in the 'SearchTradingSignals' function