Login / Register
Add a review
Log in
Sign UP
[bws_google_captcha]

The Expert Advisor displays renko bars on the chart (including shadows and the time of formation of each brick), builds a ZigZag, a moving average on them, and performs trading operations according to the following strategy:

To calculate ZigZag, only two parameters are used – the percentage and the number of rollback bars.

The Expert Advisor performs the following operations to support trading:

  • setting SL by the level of the previous minimum/maximum Zigzag;
  • calculating the volume of transactions for a given risk;
  • transfer of the transaction to the break-even state;
  • trailing stop at a given ratio;
  • closing deals on the amount of profit.

Expert Advisor parameters

  • RenkoBar-renko brick size;
  • CountBars – the number of bars to draw;
  • bearColor, bullColor, shadowColor – the color of the bear and bull bricks and shadows;
  • hideBars-hide chart bars;
  • openTime_factor-the ratio of the time of formation of the last and previous bricks;
  • ordersDistance – minimum distance between transactions;
  • lots – fixed volume;
  • double risk – the risk per trade as a percentage;
  • takeProfit_factor – TP level from SL;
  • stopLossMin – minimum SL level;
  • trailStop_factor – the trailing level from TP;
  • noLoss_factor – breakeven level from TP;
  • numOrders – maximum number of unidirectional trades;
  • averageClose-closing on the profit amount of unidirectional trades as a percentage of the remaining free funds;
  • diffClose-closing by the amount of profit of multidirectional trades as a percentage of the remaining free funds;
  • arbitrageClose-closing the total profit of all trades with the magic number of the Expert Advisor as a percentage of the remaining free funds;
  • dualSide-resolution of multidirectional transactions;
  • closeOnRevers-close trades on the opposite signal;
  • useMaFilter – allows filtering by moving average;
  • maTrail – resolution of trailing on the moving average;
  • maSlowPeriod, maSlowColor, maSlowWidth-calculation parameters and display of the moving average;
  • zzDev, zzBack, zzColor, zzWidth-calculation parameters and ZigZag display;
  • useTimeSignal – resolution of the signal to accelerate the time of the formation of bricks;
  • useBackSignal – resolution of the rollback signal;
  • breakOnBack-canceling the ZigZag backbeam signal;
  • signalWaitFactor maximum signal waiting distance in the passing direction;
  • slippage – slippage;
  • magic-magic number;
  • isDrawing-resolution display of renko bars and indicators;
  • drawTime, fontSize-time display parameters;
  • drawSignal-signal display resolution;
  • useComment-permission to display messages in comments;
  • usePrint-permission to display messages in the Expert Advisor logs;
  • UseAlert-permission to display messages in pop-up windows;
  • useMail-permission to send messages to email;
  • useNotification-permission to send messages to a mobile device;
  • messagePre, messageCancel, messageOk-resolution of preliminary signals, cancellation, and final signals.

[spoiler title=”Read More…”]

To calculate ZigZag, only two parameters are used – the percentage and the number of rollback bars.

The Expert Advisor performs the following operations to support trading:

  • setting SL by the level of the previous minimum/maximum Zigzag;
  • calculating the volume of transactions for a given risk;
  • transfer of the transaction to the break-even state;
  • trailing stop at a given ratio;
  • closing deals on the amount of profit.

Expert Advisor parameters

  • RenkoBar-renko brick size;
  • CountBars – the number of bars to draw;
  • bearColor, bullColor, shadowColor – the color of the bear and bull bricks and shadows;
  • hideBars-hide chart bars;
  • openTime_factor-the ratio of the time of formation of the last and previous bricks;
  • ordersDistance – minimum distance between transactions;
  • lots – fixed volume;
  • double risk – the risk per trade as a percentage;
  • takeProfit_factor – TP level from SL;
  • stopLossMin – minimum SL level;
  • trailStop_factor – the trailing level from TP;
  • noLoss_factor – breakeven level from TP;
  • numOrders – maximum number of unidirectional trades;
  • averageClose-closing on the profit amount of unidirectional trades as a percentage of the remaining free funds;
  • diffClose-closing by the amount of profit of multidirectional trades as a percentage of the remaining free funds;
  • arbitrageClose-closing the total profit of all trades with the magic number of the Expert Advisor as a percentage of the remaining free funds;
  • dualSide-resolution of multidirectional transactions;
  • closeOnRevers-close trades on the opposite signal;
  • useMaFilter – allows filtering by moving average;
  • maTrail – resolution of trailing on the moving average;
  • maSlowPeriod, maSlowColor, maSlowWidth-calculation parameters and display of the moving average;
  • zzDev, zzBack, zzColor, zzWidth-calculation parameters and ZigZag display;
  • useTimeSignal – resolution of the signal to accelerate the time of the formation of bricks;
  • useBackSignal – resolution of the rollback signal;
  • breakOnBack-canceling the ZigZag backbeam signal;
  • signalWaitFactor maximum signal waiting distance in the passing direction;
  • slippage – slippage;
  • magic-magic number;
  • isDrawing-resolution display of renko bars and indicators;
  • drawTime, fontSize-time display parameters;
  • drawSignal-signal display resolution;
  • useComment-permission to display messages in comments;
  • usePrint-permission to display messages in the Expert Advisor logs;
  • UseAlert-permission to display messages in pop-up windows;
  • useMail-permission to send messages to email;
  • useNotification-permission to send messages to a mobile device;
  • messagePre, messageCancel, messageOk-resolution of preliminary signals, cancellation, and final signals.

Expert Advisor parameters

  • RenkoBar-renko brick size;
  • CountBars – the number of bars to draw;
  • bearColor, bullColor, shadowColor – the color of the bear and bull bricks and shadows;
  • hideBars-hide chart bars;
  • openTime_factor-the ratio of the time of formation of the last and previous bricks;
  • ordersDistance – minimum distance between transactions;
  • lots – fixed volume;
  • double risk – the risk per trade as a percentage;
  • takeProfit_factor – TP level from SL;
  • stopLossMin – minimum SL level;
  • trailStop_factor – the trailing level from TP;
  • noLoss_factor – breakeven level from TP;
  • numOrders – maximum number of unidirectional trades;
  • averageClose-closing on the profit amount of unidirectional trades as a percentage of the remaining free funds;
  • diffClose-closing by the amount of profit of multidirectional trades as a percentage of the remaining free funds;
  • arbitrageClose-closing the total profit of all trades with the magic number of the Expert Advisor as a percentage of the remaining free funds;
  • dualSide-resolution of multidirectional transactions;
  • closeOnRevers-close trades on the opposite signal;
  • useMaFilter – allows filtering by moving average;
  • maTrail – resolution of trailing on the moving average;
  • maSlowPeriod, maSlowColor, maSlowWidth-calculation parameters and display of the moving average;
  • zzDev, zzBack, zzColor, zzWidth-calculation parameters and ZigZag display;
  • useTimeSignal – resolution of the signal to accelerate the time of the formation of bricks;
  • useBackSignal – resolution of the rollback signal;
  • breakOnBack-canceling the ZigZag backbeam signal;
  • signalWaitFactor maximum signal waiting distance in the passing direction;
  • slippage – slippage;
  • magic-magic number;
  • isDrawing-resolution display of renko bars and indicators;
  • drawTime, fontSize-time display parameters;
  • drawSignal-signal display resolution;
  • useComment-permission to display messages in comments;
  • usePrint-permission to display messages in the Expert Advisor logs;
  • UseAlert-permission to display messages in pop-up windows;
  • useMail-permission to send messages to email;
  • useNotification-permission to send messages to a mobile device;
  • messagePre, messageCancel, messageOk-resolution of preliminary signals, cancellation, and final signals.
  • RenkoBar-renko brick size;
  • CountBars – the number of bars to draw;
  • bearColor, bullColor, shadowColor – the color of the bear and bull bricks and shadows;
  • hideBars-hide chart bars;
  • openTime_factor-the ratio of the time of formation of the last and previous bricks;
  • ordersDistance – minimum distance between transactions;
  • lots – fixed volume;
  • double risk – the risk per trade as a percentage;
  • takeProfit_factor – TP level from SL;
  • stopLossMin – minimum SL level;
  • trailStop_factor – the trailing level from TP;
  • noLoss_factor – breakeven level from TP;
  • numOrders – maximum number of unidirectional trades;
  • averageClose-closing on the profit amount of unidirectional trades as a percentage of the remaining free funds;
  • diffClose-closing by the amount of profit of multidirectional trades as a percentage of the remaining free funds;
  • arbitrageClose-closing the total profit of all trades with the magic number of the Expert Advisor as a percentage of the remaining free funds;
  • dualSide-resolution of multidirectional transactions;
  • closeOnRevers-close trades on the opposite signal;
  • useMaFilter – allows filtering by moving average;
  • maTrail – resolution of trailing on the moving average;
  • maSlowPeriod, maSlowColor, maSlowWidth-calculation parameters and display of the moving average;
  • zzDev, zzBack, zzColor, zzWidth-calculation parameters and ZigZag display;
  • useTimeSignal – resolution of the signal to accelerate the time of the formation of bricks;
  • useBackSignal – resolution of the rollback signal;
  • breakOnBack-canceling the ZigZag backbeam signal;
  • signalWaitFactor maximum signal waiting distance in the passing direction;
  • slippage – slippage;
  • magic-magic number;
  • isDrawing-resolution display of renko bars and indicators;
  • drawTime, fontSize-time display parameters;
  • drawSignal-signal display resolution;
  • useComment-permission to display messages in comments;
  • usePrint-permission to display messages in the Expert Advisor logs;
  • UseAlert-permission to display messages in pop-up windows;
  • useMail-permission to send messages to email;
  • useNotification-permission to send messages to a mobile device;
  • messagePre, messageCancel, messageOk-resolution of preliminary signals, cancellation, and final signals.

[/spoiler]

Add review
Reviews ( 0 ):