The Night Lottery EA is a fully automated expert Advisor that trades at night and
relies on price returns. EA trades using market orders
and uses time averaging to improve performance.
This Expert Advisor works best on EURUSD using a timeframe
M5. VPS is recommended when trading this system. Check the comments
for the reverse test results and optimized settings.
Live signal – https://www.mql5.com/ru/signals/470226
Features
- Fully automated
- Not sensitive to propagation
- Risk management
- Always stop loss in place
- This system has the ability to meet the requirements of the NFA / FIFO
- All you need is a VPS
Input Settings
Order Settings
- MagicOrderNumber – a unique number for EA to identify its trades. Any integer
- Lots – the number of fixed lots per trade, if money management is disabled. Values from 0.01 to 50.0
- Slippage – slippage in points. Values from 1 to 10
- MoneyManagement – when enabled, trading batch sizes are calculated based on account risk, true / false
- MoneyManagementRisk – risk per trade if money management is enabled . Values from 0.01 to 0.1
- AllowNewTrades-Turn this to disable new trades, true / false
- AccountProfitLock-If EA money management stops trading if the account balance
falls to this fraction of the maximum account balance (0.5 = 50% of the balance
on the account). Values from 0.0 to 1.0 - NFA_FIFOCompliant-Enable this if you need it to meet NFA and FIFO requirements, true / false
Entry Settings
- TimeFrame-drop-down timeframe selection to lock EA up to the timeframe, so that
the chart timeframe selection does not affect EA. When testing, make sure,
that the time of the tester is set to one value - MaxSpread – The maximum spread in points that EA will trade. Values from 1.0 to 10.0
- Reverse-When enabled, trades are reversed, true / false
- TrendFilter – if enabled, the tags are filtered by the trend direction, true / false
- TrendTimeFrame-drop-down list of timeframes for trend detection
- GMTOffsetHours – Offset in hours for your broker’s time zone-Values from -12 to 12
- StartCandleHour – drum of the hour line-values from 0 to 24
- EndCandleHour – End bar hour-values from 0 to 24
- TakeProfit – Accept profit (setting to 0 is disabled). Values from 0 to 100 depending on the pair being sold
- InvisibleTakeProfit – Invisible take profit, this can be used instead of TakeProfit (setting to 0 is disabled). Values from 0 to 100 depending on the pair being sold
- StopLoss-fixed stop-losses visible to the broker-values from 25 to 200 depending on the pair traded
- RSIPeriod – the RSI period used as the input signal-values from 1 to 40
- RSIThreshold-the RSI threshold used as the input signal-values from 0 to 40
- RSIThresholdBuy – The RSI threshold used as the buy input (setting to 0 is disabled) – values from 0 to 40
- RSIThresholdSell – The threshold value of the RSI used as a sell signal (setting to 0 is disabled) – values from 0 to 40
- RMIEntry – if enabled, RMI is used as input, true / false
- RMIPeriod–RMI period-values from 1 to 40
- RMIMomPeriod–pulse period RMI-values from 1 to 40
- ATRPeriod – period of the ATR filter values from 1 to 100
- ATRThreshold-ATR threshold in points-values from 0 to 10
- MaxTradeCount – Maximum number of open trades-values from 1 to 10
- TradeGroupsPerNight-maximum number of trading groups per night-values from 1 to 10
- TradeDayAfterLoss – when trading is enabled, it will be disabled the day after the loss, true / false
- TradeAllOfFirstHour – if enabled, MaxTradeCount is ignored during the first hour of trading, true / false
- CloseAllPositions – If enabled, all positions are closed, if invisible profit is extracted, true / false
- CloseAllPositionsThreshold – Maximum number of trades to close. Values range from 1 to 100
- CloseOpposingPositionsOnSignal – If closes opposite trades on the signal is enabled, true / false
[spoiler title=”Read More…”]
The Night Lottery EA is a fully automated expert Advisor that trades at night and
relies on price returns. EA trades using market orders
and uses time averaging to improve performance.
This Expert Advisor works best on EURUSD using a timeframe
M5. VPS is recommended when trading this system. Check the comments
for the reverse test results and optimized settings.
- Fully automated
- Not sensitive to propagation
- Risk management
- Always stop loss in place
- This system has the ability to meet the requirements of the NFA / FIFO
- All you need is a VPS
Order Settings
- MagicOrderNumber – a unique number for EA to identify its trades. Any integer
- Lots – the number of fixed lots per trade, if money management is disabled. Values from 0.01 to 50.0
- Slippage – slippage in points. Values from 1 to 10
- MoneyManagement – when enabled, trading batch sizes are calculated based on account risk, true / false
- MoneyManagementRisk – risk per trade if money management is enabled . Values from 0.01 to 0.1
- AllowNewTrades-Turn this to disable new trades, true / false
- AccountProfitLock-If EA money management stops trading if the account balance
falls to this fraction of the maximum account balance (0.5 = 50% of the balance
on the account). Values from 0.0 to 1.0 - NFA_FIFOCompliant-Enable this if you need it to meet NFA and FIFO requirements, true / false
Entry Settings
- TimeFrame-drop-down timeframe selection to lock EA up to the timeframe, so that
the chart timeframe selection does not affect EA. When testing, make sure,
that the time of the tester is set to one value - MaxSpread – The maximum spread in points that EA will trade. Values from 1.0 to 10.0
- Reverse-When enabled, trades are reversed, true / false
- TrendFilter – if enabled, the tags are filtered by the trend direction, true / false
- TrendTimeFrame-drop-down list of timeframes for trend detection
- GMTOffsetHours – Offset in hours for your broker’s time zone-Values from -12 to 12
- StartCandleHour – drum of the hour line-values from 0 to 24
- EndCandleHour – End bar hour-values from 0 to 24
- TakeProfit – Accept profit (setting to 0 is disabled). Values from 0 to 100 depending on the pair being sold
- InvisibleTakeProfit – Invisible take profit, this can be used instead of TakeProfit (setting to 0 is disabled). Values from 0 to 100 depending on the pair being sold
- StopLoss-fixed stop-losses visible to the broker-values from 25 to 200 depending on the pair traded
- RSIPeriod – the RSI period used as the input signal-values from 1 to 40
- RSIThreshold-the RSI threshold used as the input signal-values from 0 to 40
- RSIThresholdBuy – The RSI threshold used as the buy input (setting to 0 is disabled) – values from 0 to 40
- RSIThresholdSell – The threshold value of the RSI used as a sell signal (setting to 0 is disabled) – values from 0 to 40
- RMIEntry – if enabled, RMI is used as input, true / false
- RMIPeriod–RMI period-values from 1 to 40
- RMIMomPeriod–pulse period RMI-values from 1 to 40
- ATRPeriod – period of the ATR filter values from 1 to 100
- ATRThreshold-ATR threshold in points-values from 0 to 10
- MaxTradeCount – Maximum number of open trades-values from 1 to 10
- TradeGroupsPerNight-maximum number of trading groups per night-values from 1 to 10
- TradeDayAfterLoss – when trading is enabled, it will be disabled the day after the loss, true / false
- TradeAllOfFirstHour – if enabled, MaxTradeCount is ignored during the first hour of trading, true / false
- CloseAllPositions – If enabled, all positions are closed, if invisible profit is extracted, true / false
- CloseAllPositionsThreshold – Maximum number of trades to close. Values range from 1 to 100
- CloseOpposingPositionsOnSignal – If closes opposite trades on the signal is enabled, true / false
[/spoiler]