Hi Guys,
You can find in this thread a Dashboard which can be used as an EA.
This dashboard was initially coded to trade Al strategy shared in this thread (previous DB are there also): http://www.forexfactory.com/showthread.php?t=635469
Considering the new features available in the DB EA, Forexpinbars strategy from this thread can also be traded: http://www.forexfactory.com/showthread.php?t=631956
New options since latest version are highlighted in Yellow.
To summarized, this DB EA can trade and give complex signals combinations of 4 stochastics, 5 CCIs and 2 MAs. Which mean you can trade Als strategy, Forexpinbars strategy, or a combination of Sto only or CCI only or MA only
=============================
Dashboard Settings:
=============================
Dashboard settings are really straight forward. Here is a quick description of the main functions.
This Dashboard comes as an EA so please install it in your MT4 experts directory.
In OOTB (Out Of the Box Settings):
- During initialisation, the Dashboard will download historical data from your broker to make sure you have enough data to have the correct calculations. If you are using a fresh MT4 installation, it might take a little bite of time the first time you launch the Dashboard.
- You can place the Dashboard on any timeframe as the settings for the timeframes used for indis calculation are coded in the EA (inside EA settings).
- This Dashboard EA can be used as a Dashboard only which generates signals or as an EA as well. In OOTB settings EA mode is turned off. Use Dashboard as EA ?.
- You can change the list of pairs to display the 28 standards, for this first version I have hardcoded the list of pairs suggested by Al.
- Displayed results: the pip count for all displayed results is showing only the L1 in trend orders pip count (the previous DB was showing the net of both legs orders and was a bite messy). The total is displayed also. The various results panels are showing: (Win/Loss trades counter per pair, L1 pips counts, cash).
- in the floating results panel, when trades are open you will notice small red crosses, a click on it would close the open orders. On the right side a small B mean the we have a buy in trend trade, a small S mean that we have a sell in trend trade.
- In the info panel the dashboard displays:
The current spread (in Orange if it is higher than the average spread)
The average Spread
Today ADR (in Orange if it is higher than the average ADR)
The average ADR
- I have included some buttons just after the pairs label. Green = trading on, red off for Buy/Sell. On init there are turned ON by default, you can switch all buttons status with the 2 buttons at the bottom.
You have various alert modes available in the Dashboard.
A click on the pair label or on the signal square (when there is a signal) will open the chart of the selected pair, you can specify the template in the DB settings. I am using Al template as default, if you want the template to be opened correctly make sure to install al Indis, save a template, and specify its name in the settings.
Dashboard is movable anywhere on your screen.
01 - Click to select the dashboard (a little square will appear in the top left corner)
02 - Let shift keyboard button pressed and left mouse clicked and drag and drop the DB where you want.
03 Unselect the dashboard to make sure display is correct
If you are displaying the 28 standards pairs you have an option to display separators lines to make the informations more visible.
The file comes as a compiled file as I am using some helpers (mqh) to code.
=============================
EA Settings and filters:
=============================
You can filter trades with trading hours, settings are really straight forward. Time filter is using LOCAL HOURS (I can see the questions coming already) as specified in settings.
You can also filter trades per sessions.
The dashboard is using an automatic GMT offset calculation, no need to change sessions time. The DB is using windows OS to get those values, tested on W10 and on my VPS running W server 2012.
Open sessions are highlighted in colours below the dashboard. You can specify which currency are tradable during each session.
I tried to keep the EA settings as simple as possible, using Al suggestions and trade management, however I have added a couple of options (possibility to place SL and TP with trades, options to use a second leg trade as Al is doing).
==> Stochastics settings available in the DB
==> CCIs settings available in the DB
==> MAs settings available in the DB. In this latest DB version, you have a MA filter. If fast MA > slow MA trend up, which mean you can trade Forexpinbars strategy
==> TP: take profit can be placed with trades
==> SL: stop loss can be placed with trades
==> Second leg trade: option to use or not a second leg trade
==> Opposite trades: option to use or not opposite trades
==> Stealth TP to close both legs trades at xx pips value
==> Dynamic Stealth TP to close both legs trades at xx % of average ADR. In OOTB setting the % is set at 25 % the average ADR value which is, from my point of view, roughly the TP that Al is using for the recommended pairs. I have also included a minimal and maximal value for this Dynamic ADR TP in order to avoid abnormal value when there is an abnormally low or high average ADR (which occurs from time to time). There is also an option to display those Dynamic ADR TP value on the right side of the DB (as in my previous pic). On default this option is on false to avoid cluttering the DB. You can also see this value if you hover your mouse over the various average ADR values.
==> Breakeven option: Breakeven can be set in fixed pips or as an ADR value. If you are using the ADR value please make sure to have an ADR value for TP > ADR value for BE threshold > ADR value for BE buffer. I have also included a minimal and maximal value in pips for this Dynamic ADR BE in order to avoid abnormal value when there is an abnormally low or high average ADR (which occurs from time to time).
==> Limit trading to 1 profitable trade a day
==> Limit trading to x in trend buy trade
==> Limit trading to x in trend sell trade
==> Limit trading to 1 in trend trade (buy or sell)
=============================
New alerts/signals system
=============================
In the previous DB EA, the alerts/signals were hardcoded and so it was not possible for users to tweak them. The standard alerts/signal was to have e.g for a buy signal: all stochastics above 90 and all CCI green. All conditions needed to be true.
In this new DB EA version, you have a more complex alerts/signals system that you can completely customize.
For each Sto, CCI and MA, you can decide whether it is part of the signals or not.
You can choose to have:
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 2 lines below the DB:
- @ entry: display if alerts are on or not for each indis
- @ oppos: display if alerts are on or not for opposite signals for each indis
It means that you can have different conditions for initial entries and opposite signals.
=============================
Additional info:
=============================
I wont include any news filter in the DB. I did that in the past and it is always a nightmare as you rely on website informations and formatting and for any reason if something change the function wont work anymore.
You have various functions which can help you to avoid trading during news: Trading hour filter, Session filter, now the buttons to allow buy or sell.
Trade are open when a signal is generated on last closed candle. There is an option to use the current open candle instead.
In the dashboard, the signals are checked this way:
If the previous closed bar has a signal and the bar before do not have a signal, then this is a valid signal and it is highlighted in Red or Lime on the DB.
If the previous closed bar has a signal and the bar before has a signal, then this is a continuation signal (not a valid signal to enter a trade) and it is highlighted in Teal or Pink.
The dashboard is not checking for the first signal of the day (for CPU issue). If your dashboard is running 24/24 a day, as the dashboard is limiting trading to 1 in trend buy and 1 in trend sell a day only the first valid signals would trigger a trade. It also means that if your guys are launching the DB in the middle of the day the DB might trigger a trade with a signal which is not the first signal of the day.
Working perfectly on MT4 build 1049, windows 10, coded with editor 1529.
Dashboard tested on TradersWay which has a suffix i and working fine.
I HAVE CODED SOME NEW OPTIONS IN THE DASHBOARD AND I HAVE COMPLETELY CHANGED THE CODE TO GENERAL SIGNALS, SO PLEASE DOUBLE CHECK IN DEMO IF THE DB IS WORKING AS INTENDED.
More informations about OOTB settings and potential presets will come later.
=============================
OOTB settings
=============================
- Use Dashboard as EA: is off to avoid users who wants to use the DB EA only as a dashboard to make mistakes.
- Dashboard pairs: 8 pairs recommended by Al
- Signals per indi are all on off
- all individual SL and TP are on off.
- Fixed MM is used First leg with 0.1 lot and second leg with 0.03 lot.
- Both legs will be closed if leg 1 reach 40 pips.
- No breakeven
- Opposite orders will be opened if the dashboard generates an opposite signal.
- Spread filter is on (if current spread is higher than average spread the trade is not open), only applicable for the first initial trade to open.
- ADR filter is off (if on and today ADR > average ADR or distance between Today ADR and average ADR < inputs in EA settings the trade is not open), only applicable for the first initial trade to open.
- Limit trading to 1 profitable trade a day is on
- Limit trading to 1 buy or 1 sell a day is on
- Trading hours are empty (as input is LOCAL time and we all have different local time)
- Session filter is off
Test, test and test.
Hope it make sense.
Have fun,
G
You can find in this thread a Dashboard which can be used as an EA.
This dashboard was initially coded to trade Al strategy shared in this thread (previous DB are there also): http://www.forexfactory.com/showthread.php?t=635469
Considering the new features available in the DB EA, Forexpinbars strategy from this thread can also be traded: http://www.forexfactory.com/showthread.php?t=631956
New options since latest version are highlighted in Yellow.
To summarized, this DB EA can trade and give complex signals combinations of 4 stochastics, 5 CCIs and 2 MAs. Which mean you can trade Als strategy, Forexpinbars strategy, or a combination of Sto only or CCI only or MA only
=============================
Dashboard Settings:
=============================
Dashboard settings are really straight forward. Here is a quick description of the main functions.
This Dashboard comes as an EA so please install it in your MT4 experts directory.
In OOTB (Out Of the Box Settings):
- During initialisation, the Dashboard will download historical data from your broker to make sure you have enough data to have the correct calculations. If you are using a fresh MT4 installation, it might take a little bite of time the first time you launch the Dashboard.
- You can place the Dashboard on any timeframe as the settings for the timeframes used for indis calculation are coded in the EA (inside EA settings).
- This Dashboard EA can be used as a Dashboard only which generates signals or as an EA as well. In OOTB settings EA mode is turned off. Use Dashboard as EA ?.
- You can change the list of pairs to display the 28 standards, for this first version I have hardcoded the list of pairs suggested by Al.
- Displayed results: the pip count for all displayed results is showing only the L1 in trend orders pip count (the previous DB was showing the net of both legs orders and was a bite messy). The total is displayed also. The various results panels are showing: (Win/Loss trades counter per pair, L1 pips counts, cash).
- in the floating results panel, when trades are open you will notice small red crosses, a click on it would close the open orders. On the right side a small B mean the we have a buy in trend trade, a small S mean that we have a sell in trend trade.
- In the info panel the dashboard displays:
The current spread (in Orange if it is higher than the average spread)
The average Spread
Today ADR (in Orange if it is higher than the average ADR)
The average ADR
- I have included some buttons just after the pairs label. Green = trading on, red off for Buy/Sell. On init there are turned ON by default, you can switch all buttons status with the 2 buttons at the bottom.
You have various alert modes available in the Dashboard.
A click on the pair label or on the signal square (when there is a signal) will open the chart of the selected pair, you can specify the template in the DB settings. I am using Al template as default, if you want the template to be opened correctly make sure to install al Indis, save a template, and specify its name in the settings.
Dashboard is movable anywhere on your screen.
01 - Click to select the dashboard (a little square will appear in the top left corner)
02 - Let shift keyboard button pressed and left mouse clicked and drag and drop the DB where you want.
03 Unselect the dashboard to make sure display is correct
If you are displaying the 28 standards pairs you have an option to display separators lines to make the informations more visible.
The file comes as a compiled file as I am using some helpers (mqh) to code.
=============================
EA Settings and filters:
=============================
You can filter trades with trading hours, settings are really straight forward. Time filter is using LOCAL HOURS (I can see the questions coming already) as specified in settings.
You can also filter trades per sessions.
The dashboard is using an automatic GMT offset calculation, no need to change sessions time. The DB is using windows OS to get those values, tested on W10 and on my VPS running W server 2012.
Open sessions are highlighted in colours below the dashboard. You can specify which currency are tradable during each session.
I tried to keep the EA settings as simple as possible, using Al suggestions and trade management, however I have added a couple of options (possibility to place SL and TP with trades, options to use a second leg trade as Al is doing).
==> Stochastics settings available in the DB
==> CCIs settings available in the DB
==> MAs settings available in the DB. In this latest DB version, you have a MA filter. If fast MA > slow MA trend up, which mean you can trade Forexpinbars strategy
==> TP: take profit can be placed with trades
==> SL: stop loss can be placed with trades
==> Second leg trade: option to use or not a second leg trade
==> Opposite trades: option to use or not opposite trades
==> Stealth TP to close both legs trades at xx pips value
==> Dynamic Stealth TP to close both legs trades at xx % of average ADR. In OOTB setting the % is set at 25 % the average ADR value which is, from my point of view, roughly the TP that Al is using for the recommended pairs. I have also included a minimal and maximal value for this Dynamic ADR TP in order to avoid abnormal value when there is an abnormally low or high average ADR (which occurs from time to time). There is also an option to display those Dynamic ADR TP value on the right side of the DB (as in my previous pic). On default this option is on false to avoid cluttering the DB. You can also see this value if you hover your mouse over the various average ADR values.
==> Breakeven option: Breakeven can be set in fixed pips or as an ADR value. If you are using the ADR value please make sure to have an ADR value for TP > ADR value for BE threshold > ADR value for BE buffer. I have also included a minimal and maximal value in pips for this Dynamic ADR BE in order to avoid abnormal value when there is an abnormally low or high average ADR (which occurs from time to time).
==> Limit trading to 1 profitable trade a day
==> Limit trading to x in trend buy trade
==> Limit trading to x in trend sell trade
==> Limit trading to 1 in trend trade (buy or sell)
=============================
New alerts/signals system
=============================
In the previous DB EA, the alerts/signals were hardcoded and so it was not possible for users to tweak them. The standard alerts/signal was to have e.g for a buy signal: all stochastics above 90 and all CCI green. All conditions needed to be true.
In this new DB EA version, you have a more complex alerts/signals system that you can completely customize.
For each Sto, CCI and MA, you can decide whether it is part of the signals or not.
You can choose to have:
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 2 lines below the DB:
- @ entry: display if alerts are on or not for each indis
- @ oppos: display if alerts are on or not for opposite signals for each indis
It means that you can have different conditions for initial entries and opposite signals.
=============================
Additional info:
=============================
I wont include any news filter in the DB. I did that in the past and it is always a nightmare as you rely on website informations and formatting and for any reason if something change the function wont work anymore.
You have various functions which can help you to avoid trading during news: Trading hour filter, Session filter, now the buttons to allow buy or sell.
Trade are open when a signal is generated on last closed candle. There is an option to use the current open candle instead.
In the dashboard, the signals are checked this way:
If the previous closed bar has a signal and the bar before do not have a signal, then this is a valid signal and it is highlighted in Red or Lime on the DB.
If the previous closed bar has a signal and the bar before has a signal, then this is a continuation signal (not a valid signal to enter a trade) and it is highlighted in Teal or Pink.
The dashboard is not checking for the first signal of the day (for CPU issue). If your dashboard is running 24/24 a day, as the dashboard is limiting trading to 1 in trend buy and 1 in trend sell a day only the first valid signals would trigger a trade. It also means that if your guys are launching the DB in the middle of the day the DB might trigger a trade with a signal which is not the first signal of the day.
Working perfectly on MT4 build 1049, windows 10, coded with editor 1529.
Dashboard tested on TradersWay which has a suffix i and working fine.
I HAVE CODED SOME NEW OPTIONS IN THE DASHBOARD AND I HAVE COMPLETELY CHANGED THE CODE TO GENERAL SIGNALS, SO PLEASE DOUBLE CHECK IN DEMO IF THE DB IS WORKING AS INTENDED.
More informations about OOTB settings and potential presets will come later.
=============================
OOTB settings
=============================
- Use Dashboard as EA: is off to avoid users who wants to use the DB EA only as a dashboard to make mistakes.
- Dashboard pairs: 8 pairs recommended by Al
- Signals per indi are all on off
- all individual SL and TP are on off.
- Fixed MM is used First leg with 0.1 lot and second leg with 0.03 lot.
- Both legs will be closed if leg 1 reach 40 pips.
- No breakeven
- Opposite orders will be opened if the dashboard generates an opposite signal.
- Spread filter is on (if current spread is higher than average spread the trade is not open), only applicable for the first initial trade to open.
- ADR filter is off (if on and today ADR > average ADR or distance between Today ADR and average ADR < inputs in EA settings the trade is not open), only applicable for the first initial trade to open.
- Limit trading to 1 profitable trade a day is on
- Limit trading to 1 buy or 1 sell a day is on
- Trading hours are empty (as input is LOCAL time and we all have different local time)
- Session filter is off
Test, test and test.
Hope it make sense.
Have fun,
G
Attached File(s)
! - !-GiG-!--Dashboard-041.ex4
346 KB
|
1,527 downloads
|
Uploaded Feb 21, 2017 8:36am