Page 1 of 1

Corelation Indicator

PostPosted: Wed Apr 19, 2017 4:16 pm
by Apprentice
EURUSD m30 (04-19-2017 2124).png

Based on request.
viewtopic.php?f=27&t=64606&p=112068#p112068
Corelation= Multiplier*"EUR/CHF" -("EUR/USD" * "USD/CHF"))
Corelation Indicator.lua
(4.44 KiB) Downloaded 624 times


The indicator was revised and updated

Re: Corelation Indicator

PostPosted: Wed Apr 26, 2017 6:12 am
by sebgautier49
Is it possible to have the same indicator with a 1 minute timeframe ?

Thanks a lot

Sébastien

Re: Corelation Indicator

PostPosted: Wed Apr 26, 2017 7:31 am
by Apprentice
Only if you chart time frame is "m1"
If you want a lower time frame,
Presentation as this is needed.
viewtopic.php?f=17&t=64620

Re: Corelation Indicator

PostPosted: Wed Apr 26, 2017 7:39 am
by sebgautier49
I just need the same indicator with timeframe 1 minutes . I don't need lower

Thanks a lot

sébastien

Re: Corelation Indicator

PostPosted: Wed Apr 26, 2017 10:11 am
by Apprentice
You can have "m1" time frame only if you chart time frame is "m1"
If you chart time frame is "m5" or Higher, this is not possible.

Can write indicator like this
viewtopic.php?f=17&t=19743&p=107509&hilit=lower+time+frame#p107509
or
viewtopic.php?f=17&t=64620

Re: Corelation Indicator

PostPosted: Wed Apr 26, 2017 11:48 am
by sebgautier49
Thanks for your explanation. Now I know how tu use it.

I have a new question. What must I do if I want to automize the trading ?
Can I put the algorithm here ?

Thanks for your help.

Sébastien

Re: Corelation Indicator

PostPosted: Thu Apr 27, 2017 3:23 am
by Apprentice
Yes, Describe your strategy logic here.
Or post it here.
viewforum.php?f=27

Re: Corelation Indicator

PostPosted: Thu Apr 27, 2017 1:59 pm
by sebgautier49
Ok I will try to explain the strategy :

IF "corelation indicator" >= "15" AND Open position <=12
BUY EUR USD and BUY USD CHF and SELL EUR CHF (at the same time)
When "correlation indicator <="-0.5"
CLOSE all positions
OR

IF "corelation indicator" <= "-15" AND Open position <=12
SELL EUR USD and SELL USD CHF and BUY EUR CHF (at the same time)
When "correlation indicator >="0.5"
CLOSE all positions

I hope it is clear

Thanks

Sébastien

Re: Corelation Indicator

PostPosted: Thu Apr 27, 2017 5:12 pm
by Apprentice