SCM Dashboard (STOs, CCIs, MAs, multiple)
Hello everyone,
You can find a dashboard that can be used as an EA in this thread.
This dashboard was originally coded for trading the AI strategy shared in this thread (the previous database was there too): http://www.forexfactory.com/showthread.php?t=635469
Taking into account the new features available in DB EA, trading can also be done with the Forexpinbars strategy in this thread: http://www.forexfactory.com/showthread.php?t=631956
New options since the latest version are highlighted in yellow.
All in all, this DB EA can trade and give a complex signal combination of 4 stochastics, 5 CCI and 2 MA. This means you can trade Als strategy, Forexpinbars strategy or a combination of only Sto or only CCI or only MA
=============================
Dashboard settings:
=============================
Dashboard setup is very simple. Here's a quick description of the main features.
This dashboard is provided as an EA, so please install it in your MT4 Expert Directory.
In OOTB (out of box setup):
- During initialization, the dashboard will download historical data from your broker to ensure you have enough data for correct calculations. If you are using a fresh installation of MT4, it may take some time when launching the dashboard for the first time.
- You can place the dashboard on any timeframe since the timeframe setting for indis calculation is coded in the EA (within the EA settings).
- This dashboard EA can be used only as a dashboard for generating signals or as an EA. In OOTB settings, EA mode is turned off. Using Dashboard as EA?
- You can change the pairing list to show 28 criteria, for the first version I have hardcoded the pairing list suggested by Al.
- Display results: All point counts for displayed results only show the L1 point count in trend orders (the previous database showed the net value of the two-legged orders, which was a bit confusing). The total number is also displayed. Various result panels display: (Win/Loss trade counter per pair, L1 point count, Cash).
- In the floating results panel, when a trade is open, you will notice a small red cross, clicking on it will close open orders. The small B on the right indicates that we are buying in trend trading, and the small S indicates that we are selling in trend trading.
- In the information panel, the dashboard displays:
Current spread (orange if higher than average spread)
Average spread today's ADR (orange if higher than average ADR)
Average ADR
- I added some buttons behind the pairing label. Green = trade open, red = buy/sell closed. It is turned on by default during initialization, and you can use the 2 buttons at the bottom to switch all button states.
There are several alert modes available in the dashboard.
Clicking on the currency pair label or the signal square (when there is a signal) will open the chart of the selected currency pair, you can specify the template in the database settings. I use the Al template by default, if you want the template to open correctly, make sure you install al Indis, save the template, and specify its name in the settings.
The dashboard can be moved anywhere on the screen.
01 - Click to select the dashboard (a small square will appear in the upper left corner)
02 - Press the Shift keyboard button and left-click, then drag and drop the database to your desired location.
03 Deselect the dashboard to ensure correct display
If you want to display 28 standard pairs, you can choose to display separators to make the information more obvious.
The file appears as compiled file because I'm using some helper (mqh) for coding.
=============================
EA settings and filters:
=============================
You can filter transactions based on transaction time, and it's very easy to set up. The time filter uses the local time specified in the settings (I can see the problem already occurring).
You can also filter transactions per session.
The dashboard uses automatic GMT offset calculation without changing the session time. The database used Windows operating system to obtain these values and was tested on W10 and VPS running W server 2012.
Open sessions are highlighted in color below the dashboard. You can specify the currencies that can be traded during each session.
I tried to make the EA setup as simple as possible using Al's suggestions and trade management, but I added a few options (the ability to put SL and TP together with trades, and the option to trade with a second leg like Al).
==> Stochastic indicator settings available in database
==> CCI settings available in DB
==> MA settings are available in DB. In this latest database version, you have an MA filter. If Fast MA > Slow MA is trending upward, it means you can trade Forexpinbars strategy
==> TP: Take profit can be set through trading
==> SL: Stop loss can be set in the trade
==> Second Leg Trading: Choose to trade with or without the second leg
==>Reverse Transaction: Choose to use or not use reverse transaction
==> Invisible TP closes two-legged trade with xx pips
==> Dynamic stealth price target ends leg trade at xx% of average ADR. In the OOTB setting, % is set to 25% of the average ADR value, which from my perspective is roughly the TP Al uses for recommended pairs. I also added a minimum and maximum value to this dynamic ADR TP to avoid outliers when the average ADR is unusually low or high (which happens from time to time). There is also an option to display these dynamic ADR TP values on the right side of the database (as shown in my last picture). By default, this option is set to false to avoid database clutter. You can also see each average ADR value if you hover your mouse over it.
==> Breakeven options: Breakeven can be set as a fixed point or ADR value. If you use ADR values, make sure that ADR value for TP > ADR value for BE threshold > ADR value for BE buffer. I also included a minimum and maximum value (in points) for this dynamic ADR BE to avoid outliers if the average ADR is unusually low or high (which happens from time to time).
==> Limit trading to 1 profitable trade per day
==> Limit trade to x in trend buy trade
==> Limit trade to x in trend sell trade
==> Limit trades to 1 (buy or sell) in trend trading
=============================
New alarm/signal system
=============================
In previous DB EA, alerts/signals were hard-coded so users could not adjust them. Standard alerts/signals are buy signals: all stochastics are above 90 and all CCI are green. All conditions must be true.
In this new DB EA version you have a more complex alert/signal system that can be fully customized.
For each Sto, CCI and MA you can decide whether it is part of the signal or not.
You can choose:
Sto 1 and/or Sto 2 and/or Sto 3 and/or Sto 4
and/or CCI 1 and/or CCI 2 and/or CCI 3 and/or CCI 4 and/or CCI 5
and/or trend MA
You can notice there are two lines below the DB:
- @entry: Displays whether the alarm of each indis is turned on
- @oppos: Shows whether the opposite signal alarm for each indis is turned on
This means that you can set different conditions for initial entry and opposite signals.
=============================
Additional Information:
=============================
I won't include any news filters in the database. I've done this in the past and it was always a nightmare because you rely on the website information and formatting, and for whatever reason if something changes, the functionality no longer works.
You have various features to help you avoid trading during news: trading time filters, session filters, buttons that now allow buying or selling.
Trading begins when the last closed candle generates a signal. There is an option to use the currently open candle.
In the dashboard, the signal is checked as follows:
If the previous closed bar has a signal and the previous bar has no signal, then this is a valid signal and is highlighted in red or lime on the DB.
If the previous closed bar had a signal, and the previous bar had a signal, then this is a continuation signal (not a valid signal to enter a trade) and is highlighted in cyan or pink.
The dashboard does not check the first signal of the day (for CPU issues). If your dashboard runs 24/24, since the dashboard limits trading to 1 trend buy and 1 trend sell per day, only the first valid signal will trigger the trade. This also means that if your person starts a DB at noon, the DB may trigger a trade using a signal that is not the first signal of the day.
Works perfectly on MT4 build 1049, Windows 10, using editor 1529 for coding.
The dashboard was tested on TradersWay with i suffix and works fine.
More information on OOTB settings and potential presets will be provided later.
=============================
Out-of-the-box setup
=============================
- Use Dashboard as EA: Turn off to avoid mistakes by users who only want to use DB EA as Dashboard.
- Dashboard Pairs: 8 pairs recommended by Al
- The signals of each indi are all turned on and off
- All individual SLs and TPs are off.
- Fixed MM using 0.1 hands in the first round and 0.03 hands in the second round.
- If leg 1 reaches 40 points, both legs will be closed.
- No break-even
- If the dashboard generates an opposite signal, the opposite order will be opened.
- The spread filter is turned on (if the current spread is higher than the average spread, the trade will not be opened), only for the initial trade opened for the first time.
- ADR filter is turned off (if it is on and today's ADR > average ADR or the distance between today's ADR and average ADR < the input in the EA settings, the trade is not opened), only for the first initial trade of the opened position.
- Limit trading to 1 profitable trade per day
- Daily trading limit is 1 buy or 1 sell
- Transaction time is empty (because the input is local time and we all have different local times)
- Session filter is turned off
Test, test, test.
Hope it makes sense.
have fun,
G
You can find a dashboard that can be used as an EA in this thread.
This dashboard was originally coded for trading the AI strategy shared in this thread (the previous database was there too): http://www.forexfactory.com/showthread.php?t=635469
Taking into account the new features available in DB EA, trading can also be done with the Forexpinbars strategy in this thread: http://www.forexfactory.com/showthread.php?t=631956
New options since the latest version are highlighted in yellow.
All in all, this DB EA can trade and give a complex signal combination of 4 stochastics, 5 CCI and 2 MA. This means you can trade Als strategy, Forexpinbars strategy or a combination of only Sto or only CCI or only MA
=============================
Dashboard settings:
=============================
Dashboard setup is very simple. Here's a quick description of the main features.
This dashboard is provided as an EA, so please install it in your MT4 Expert Directory.
In OOTB (out of box setup):
- During initialization, the dashboard will download historical data from your broker to ensure you have enough data for correct calculations. If you are using a fresh installation of MT4, it may take some time when launching the dashboard for the first time.
- You can place the dashboard on any timeframe since the timeframe setting for indis calculation is coded in the EA (within the EA settings).
- This dashboard EA can be used only as a dashboard for generating signals or as an EA. In OOTB settings, EA mode is turned off. Using Dashboard as EA?
- You can change the pairing list to show 28 criteria, for the first version I have hardcoded the pairing list suggested by Al.
- Display results: All point counts for displayed results only show the L1 point count in trend orders (the previous database showed the net value of the two-legged orders, which was a bit confusing). The total number is also displayed. Various result panels display: (Win/Loss trade counter per pair, L1 point count, Cash).
- In the floating results panel, when a trade is open, you will notice a small red cross, clicking on it will close open orders. The small B on the right indicates that we are buying in trend trading, and the small S indicates that we are selling in trend trading.
- In the information panel, the dashboard displays:
Current spread (orange if higher than average spread)
Average spread today's ADR (orange if higher than average ADR)
Average ADR
- I added some buttons behind the pairing label. Green = trade open, red = buy/sell closed. It is turned on by default during initialization, and you can use the 2 buttons at the bottom to switch all button states.
There are several alert modes available in the dashboard.
Clicking on the currency pair label or the signal square (when there is a signal) will open the chart of the selected currency pair, you can specify the template in the database settings. I use the Al template by default, if you want the template to open correctly, make sure you install al Indis, save the template, and specify its name in the settings.
The dashboard can be moved anywhere on the screen.
01 - Click to select the dashboard (a small square will appear in the upper left corner)
02 - Press the Shift keyboard button and left-click, then drag and drop the database to your desired location.
03 Deselect the dashboard to ensure correct display
If you want to display 28 standard pairs, you can choose to display separators to make the information more obvious.
The file appears as compiled file because I'm using some helper (mqh) for coding.
=============================
EA settings and filters:
=============================
You can filter transactions based on transaction time, and it's very easy to set up. The time filter uses the local time specified in the settings (I can see the problem already occurring).
You can also filter transactions per session.
The dashboard uses automatic GMT offset calculation without changing the session time. The database used Windows operating system to obtain these values and was tested on W10 and VPS running W server 2012.
Open sessions are highlighted in color below the dashboard. You can specify the currencies that can be traded during each session.
I tried to make the EA setup as simple as possible using Al's suggestions and trade management, but I added a few options (the ability to put SL and TP together with trades, and the option to trade with a second leg like Al).
==> Stochastic indicator settings available in database
==> CCI settings available in DB
==> MA settings are available in DB. In this latest database version, you have an MA filter. If Fast MA > Slow MA is trending upward, it means you can trade Forexpinbars strategy
==> TP: Take profit can be set through trading
==> SL: Stop loss can be set in the trade
==> Second Leg Trading: Choose to trade with or without the second leg
==>Reverse Transaction: Choose to use or not use reverse transaction
==> Invisible TP closes two-legged trade with xx pips
==> Dynamic stealth price target ends leg trade at xx% of average ADR. In the OOTB setting, % is set to 25% of the average ADR value, which from my perspective is roughly the TP Al uses for recommended pairs. I also added a minimum and maximum value to this dynamic ADR TP to avoid outliers when the average ADR is unusually low or high (which happens from time to time). There is also an option to display these dynamic ADR TP values on the right side of the database (as shown in my last picture). By default, this option is set to false to avoid database clutter. You can also see each average ADR value if you hover your mouse over it.
==> Breakeven options: Breakeven can be set as a fixed point or ADR value. If you use ADR values, make sure that ADR value for TP > ADR value for BE threshold > ADR value for BE buffer. I also included a minimum and maximum value (in points) for this dynamic ADR BE to avoid outliers if the average ADR is unusually low or high (which happens from time to time).
==> Limit trading to 1 profitable trade per day
==> Limit trade to x in trend buy trade
==> Limit trade to x in trend sell trade
==> Limit trades to 1 (buy or sell) in trend trading
=============================
New alarm/signal system
=============================
In previous DB EA, alerts/signals were hard-coded so users could not adjust them. Standard alerts/signals are buy signals: all stochastics are above 90 and all CCI are green. All conditions must be true.
In this new DB EA version you have a more complex alert/signal system that can be fully customized.
For each Sto, CCI and MA you can decide whether it is part of the signal or not.
You can choose:
Sto 1 and/or Sto 2 and/or Sto 3 and/or Sto 4
and/or CCI 1 and/or CCI 2 and/or CCI 3 and/or CCI 4 and/or CCI 5
and/or trend MA
You can notice there are two lines below the DB:
- @entry: Displays whether the alarm of each indis is turned on
- @oppos: Shows whether the opposite signal alarm for each indis is turned on
This means that you can set different conditions for initial entry and opposite signals.
=============================
Additional Information:
=============================
I won't include any news filters in the database. I've done this in the past and it was always a nightmare because you rely on the website information and formatting, and for whatever reason if something changes, the functionality no longer works.
You have various features to help you avoid trading during news: trading time filters, session filters, buttons that now allow buying or selling.
Trading begins when the last closed candle generates a signal. There is an option to use the currently open candle.
In the dashboard, the signal is checked as follows:
If the previous closed bar has a signal and the previous bar has no signal, then this is a valid signal and is highlighted in red or lime on the DB.
If the previous closed bar had a signal, and the previous bar had a signal, then this is a continuation signal (not a valid signal to enter a trade) and is highlighted in cyan or pink.
The dashboard does not check the first signal of the day (for CPU issues). If your dashboard runs 24/24, since the dashboard limits trading to 1 trend buy and 1 trend sell per day, only the first valid signal will trigger the trade. This also means that if your person starts a DB at noon, the DB may trigger a trade using a signal that is not the first signal of the day.
Works perfectly on MT4 build 1049, Windows 10, using editor 1529 for coding.
The dashboard was tested on TradersWay with i suffix and works fine.
More information on OOTB settings and potential presets will be provided later.
=============================
Out-of-the-box setup
=============================
- Use Dashboard as EA: Turn off to avoid mistakes by users who only want to use DB EA as Dashboard.
- Dashboard Pairs: 8 pairs recommended by Al
- The signals of each indi are all turned on and off
- All individual SLs and TPs are off.
- Fixed MM using 0.1 hands in the first round and 0.03 hands in the second round.
- If leg 1 reaches 40 points, both legs will be closed.
- No break-even
- If the dashboard generates an opposite signal, the opposite order will be opened.
- The spread filter is turned on (if the current spread is higher than the average spread, the trade will not be opened), only for the initial trade opened for the first time.
- ADR filter is turned off (if it is on and today's ADR > average ADR or the distance between today's ADR and average ADR < the input in the EA settings, the trade is not opened), only for the first initial trade of the opened position.
- Limit trading to 1 profitable trade per day
- Daily trading limit is 1 buy or 1 sell
- Transaction time is empty (because the input is local time and we all have different local times)
- Session filter is turned off
Test, test, test.
Hope it makes sense.
have fun,
G
























Attachment to original post (1)
📦 Summary of post attachments (34)
Below are all the files (34) shared in the reply.
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •