Page 1 of 1

Request Corelation Indicator

PostPosted: Wed Apr 19, 2017 9:56 am
by sebgautier49
Dear people,

I need to develop an indicator but i don't know how:
I will try to explain it :
First of all I am working Timeframe : 5 minutes
Then I need to see under the main window:
10000*(EUR CHF -(EUR USD * USD CHF))

How to use this indicator :
When the results is over 12 : buy EUR USD, USD CHF and Sell EUR CHF
When the results is under -12 : Sell EUR USD, USD CHF and buy EUR CHF

Sebastien

Re: Request Corelation Indicator

PostPosted: Wed Apr 19, 2017 4:17 pm
by Apprentice
Try this version.
viewtopic.php?f=17&t=64609
Can you devise, a generic formula?
Which can be applied to any instrument.

Re: Request Corelation Indicator

PostPosted: Mon Apr 24, 2017 12:25 pm
by sebgautier49
Thanks you,

The generic formula is :
10000*(PAIR 3 -(PAIR 1 * PAIR 2))
Is it possible to choose the Time frame ?

Sébastien

Re: Request Corelation Indicator

PostPosted: Tue Apr 25, 2017 3:46 am
by Apprentice
Insufficient description
Something like this.
10000 * (Currency1 / Currency2 - (Currency3 / Currency1 * Currency2 / Currency3))

Formula should respected, currency position in pair.

Anyone?

Re: Request Corelation Indicator

PostPosted: Tue Apr 25, 2017 8:05 am
by sebgautier49
Yes you are right the generic formula could be like this one :

10000 * ((Currency1 / Currency2) - ((Currency1 / Currency3) * (Currency3 / Currency2))
Is it possible to choose the time frame or to have 1 minute time frame

Thanks

Sébastien