Re: Dashboard Type Indicators for MT4

161
Darks wrote: Tue May 04, 2021 12:05 am Built a dashboard as part of the learning process. It is a simple RSI dashboard which currently displays USD pairs data over different timeframes.
Such a nice dashboard and as others mentioned, super lightweight compared to other RSI dashboards I've come across.

Works great with two charts open and using the Toggle Borders for MT4 indicator.
Attachments
Important: The worst forex brokers of all time 👎


Re: Dashboard Type Indicators for MT4

165
lubexfx wrote: Wed May 05, 2021 7:32 pm Hi Mr. Tools and Coders,

Is it possible to autotrade basket? for eg. buy_basket(EUR) if EUR > 7.0?

Thanks in advance
is this how it's done?

Code: Select all

double arrt[8][2];
   arrt[0][0] = currency_strength(curr[0]); arrt[1][0] = currency_strength(curr[1]);arrt[2][0] = currency_strength(curr[2]);
   arrt[3][0] = currency_strength(curr[3]); arrt[4][0] = currency_strength(curr[4]);arrt[5][0] = currency_strength(curr[5]);
   arrt[6][0] = currency_strength(curr[6]);arrt[7][0] = currency_strength(curr[7]);
   arrt[0][1] = 0; arrt[1][1] = 1; arrt[2][1] = 2; arrt[3][1] = 3;arrt[4][1] = 4; arrt[5][1] = 5; arrt[6][1] = 6; arrt[7][1] = 7;
      
      if (arrt[2][0] > 7)
        {          
               buy_basket(EUR);
        }


Re: Dashboard Type Indicators for MT4

166
lubexfx wrote: Wed May 05, 2021 7:32 pm Hi Mr. Tools and Coders,

Is it possible to autotrade basket? for eg. buy_basket(EUR) if EUR > 7.0?

Thanks in advance
left me no choice but using noob method

Code: Select all

double USDJPY = perch("USDJPY"+postfix);
   double USDCAD = perch("USDCAD"+postfix);
   double AUDUSD = perch("AUDUSD"+postfix);
   double USDCHF = perch("USDCHF"+postfix);
   double GBPUSD = perch("GBPUSD"+postfix);
   double EURUSD = perch("EURUSD"+postfix);
   double NZDUSD = perch("NZDUSD"+postfix);
   double EURJPY = perch("EURJPY"+postfix);
   double EURCAD = perch("EURCAD"+postfix);
   double EURGBP = perch("EURGBP"+postfix);
   double EURCHF = perch("EURCHF"+postfix);
   double EURAUD = perch("EURAUD"+postfix);
   double EURNZD = perch("EURNZD"+postfix);
   double AUDNZD = perch("AUDNZD"+postfix);
   double AUDCAD = perch("AUDCAD"+postfix);
   double AUDCHF = perch("AUDCHF"+postfix);
   double AUDJPY = perch("AUDJPY"+postfix);
   double CHFJPY = perch("CHFJPY"+postfix);
   double GBPCHF = perch("GBPCHF"+postfix);
   double GBPAUD = perch("GBPAUD"+postfix);
   double GBPCAD = perch("GBPCAD"+postfix);
   double GBPJPY = perch("GBPJPY"+postfix);
   double CADJPY = perch("CADJPY"+postfix);
   double NZDJPY = perch("NZDJPY"+postfix);
   double GBPNZD = perch("GBPNZD"+postfix);
   double CADCHF = perch("CADCHF"+postfix);
   double NZDCHF = perch("NZDCHF"+postfix);
   double NZDCAD = perch("NZDCAD"+postfix);

   double eur = ((EURGBP + EURAUD + EURNZD + EURUSD + EURCAD+ EURCHF + EURJPY)/7);
   double gbp = (((100-EURGBP) + GBPAUD + GBPNZD + GBPUSD + GBPCAD + GBPCHF + GBPJPY)/7);
   double aud = ((((100-EURAUD) + (100-GBPAUD)) + AUDNZD + AUDUSD + AUDCAD + AUDCHF + AUDJPY)/7);
   double nzd = ((((100-EURNZD) + (100-GBPNZD) + (100-AUDNZD)) + NZDUSD + NZDCAD + NZDCHF + NZDJPY)/7);
   double usd = ((((100-EURUSD) + (100-GBPUSD) + (100-AUDUSD) + (100-NZDUSD)) + USDCAD + USDCHF + USDJPY)/7);
   double cad = ((((100-EURCAD) + (100-GBPCAD) + (100-AUDCAD) + (100-NZDCAD) + (100-USDCAD)) + CADCHF + CADJPY)/7);
   double chf = ((((100-EURCHF) + (100-GBPCHF) + (100-AUDCHF) + (100-NZDCHF) + (100-USDCHF) + (100-CADCHF)) + CHFJPY)/7);
   double jpy = (((100-EURJPY) + (100-GBPJPY) + (100-AUDJPY) + (100-NZDJPY) + (100-USDJPY) + (100-CADJPY) + (100-CHFJPY))/7);

   eur = NormalizeDouble(eur,2); 
   usd = NormalizeDouble(usd,2); 
   jpy = NormalizeDouble(jpy,2); 
   cad = NormalizeDouble(cad,2); 
   aud = NormalizeDouble(aud,2); 
   nzd = NormalizeDouble(nzd,2); 
   gbp = NormalizeDouble(gbp,2); 
   chf = NormalizeDouble(chf,2); 

      if (eur>75)
        {          
               buy_basket(EUR);
        }

Re: Dashboard Type Indicators for MT4

169
The idea was to modify this dashboard viewtopic.php?p=1295436810#p1295436810 as an alternative to Xard's since that one would not accommodate the decimal places for indices and commodities. All symbols are set at 2 decimal places to be shown so it is suitable for indices and commodities, not currencies.
Tested 10 day ADR calculation with the attached ADR indicator. The last collumn was supposed to match XARD's Daily ADR % shown as Fib levels but the calculation does not match, I do not know the number of days used by XARD for calculating the (average) ADR. Anybody knows the exact days used by XARD?

The implementation takes the whole screen so it is not really a replacement of XARD's Dash. For me it provides an overview of the symbols interested in, the movement is in actual price terms, not pips, and the percentage change makes the movement comparable between symbols. Anybody else that might find this dashboard useful is welcome to use it as-is with all the problems or inefficiencies that the dashboard has.

I would like to add Price from Weekly Open and Price from Month Open and the % movement since, but can't figure out how to do that - anybody with the skills to do that?
Another idea would be to add 3 or 4 user configurable Moving Average collumns ;) , as in XARD's system.
These users thanked the author chris006 for the post:
optionhk

Re: Dashboard Type Indicators for MT4

170
chris006 wrote: Sat Jun 12, 2021 4:59 am The idea was to modify this dashboard viewtopic.php?p=1295436810#p1295436810 as an alternative to Xard's since that one would not accommodate the decimal places for indices and commodities. All symbols are set at 2 decimal places to be shown so it is suitable for indices and commodities, not currencies.
Tested 10 day ADR calculation with the attached ADR indicator. The last collumn was supposed to match XARD's Daily ADR % shown as Fib levels but the calculation does not match, I do not know the number of days used by XARD for calculating the (average) ADR. Anybody knows the exact days used by XARD?

The implementation takes the whole screen so it is not really a replacement of XARD's Dash. For me it provides an overview of the symbols interested in, the movement is in actual price terms, not pips, and the percentage change makes the movement comparable between symbols. Anybody else that might find this dashboard useful is welcome to use it as-is with all the problems or inefficiencies that the dashboard has.

I would like to add Price from Weekly Open and Price from Month Open and the % movement since, but can't figure out how to do that - anybody with the skills to do that?
Another idea would be to add 3 or 4 user configurable Moving Average collumns ;) , as in XARD's system.
Thank you for putting it perfectly .


Who is online

Users browsing this forum: ChatGPT [Bot], losajoca, lukgoku, Nanyuki, palex2005, ROI, Yandex [Bot] and 74 guests