Cluster / correlation indicator needs small improvement (printing double values and optimization of sendmail() function)

2018.11.13 Indikatoren Experten

Spezifikation

Dear Ladies and Gentlemen,


I need a small adjustment for an solid working cluster / correlation indicator.
I hope someone can help me out with implementing the functionalities as described below.
example pictures and a modeled view on the process will be explaining my requirement in more detail.

About the indicator which needs to be optimized:


This cluster Indicator visualizes the relative strength-values of the 8 major currencies.
Those values are visulized with moving averrages, each of them has a value displayed in the indicator at any time.




Status Quo:

The indicator can flawlessly draw all 8 currency strength curves, print the those values seperatly in the corner and send an e-mail-alert if two currency averrages are crossing or changing slope.

My Requirement:


1:

With each period the new delta of each currency should be printed on the chart with the absolute value (containing '+' & '-') (ref. and example in the pictures)
The delta-value describes the change [the gradient] of the slope-indicator's printed curve-values of the last candle period of each currency.
So the new delta would be the difference of the new slope value and the old slope value. (period 0 and predecessor)

2:

If the sign of a new delta-value changes in the new period after they're printed ('+' - '-' / '-' -> '+') && if the raw amount of the delta-value which changed it's sign is greater (>) than a predefined
value as external variable (double) --> sendmail() with following content: (currency name, timeframe, delta in what direction (+ / - ) and it's delta value.


edit: additionally this function should have as parameter: in the last (x parameter / variable [default = last persod = 1]) periods change of (x parameter / variable) slope value-delta. So the function checks if in the last x periods the delta value changed at greater x delta value  (delta of the last x periods) if this is true, the sendmail() should be triggerd with the desired content.


Best regards and thank You in advance

Mogelbaum

Dateien:

ZIP
ccfp_files.zip
135.8 Kb

Bewerbungen

1
Entwickler 1
2018.11.14
Bewertung
4.97
(461)
Projekte
559
58%
Schlichtung
14
57% / 14%
Frist nicht eingehalten
62
11%
Arbeitet

Projektdetails

Budget
60+ USD
Ausführungsfristen
von 1 bis 10 Tag(e)

Kunde

Veröffentlichte Aufträge3
Anzahl der Schlichtungen0