Linear Regression line

Avatar
  • updated

While searching the way to use a Donchian Channel, I came across with this Linear Regression indicator.
I'd appreciate if someone can tell me how I can set CP up to use the change of the colour from yellow to Green to buy and yellow to Red to sell.
I can see that I should use the Buy Colour buffer.... but I don't know how to find out the buffer number... for each colours.
thank you for your help.

linear-regression-indikator.mq4
CP2.57 LinearRegression test MT4.set

Image 5596

MT version:
Set for MT4 only
EA version:
v2.57
Symbol:
EURUSD
TimeFrame:
M5
Avatar
ferdinand tampubolon
Quote from san takashima

Thank you Ferdinand,
And sorry for a newbie questions...

So the next setting is of the 'type'
I'm lost....

Image 5625

No problem we here help each other.

Avatar
san takashima
Quote from ferdinand tampubolon

buffer buy 3

buffer sell 2 

try this 

Thank you Ferdinand,
And sorry for a newbie questions...

So the next setting is of the 'type'
I'm lost....

Image 5625

Avatar
ferdinand tampubolon

buffer buy 3

buffer sell 2 

try this 

Avatar
ferdinand tampubolon
Quote from san takashima

sorry, can you help understand?
Tried this and the other... but none seemed to work out....

which one bro can screen shot? so i can help you if i can

Avatar
san takashima
Quote from ferdinand tampubolon

ah now i know what input value to be optimize thank you ulises cune

sorry, can you help understand?
Tried this and the other... but none seemed to work out....

Avatar
ferdinand tampubolon

ah now i know what input value to be optimize thank you ulises cune

Avatar
Ulises Cune
Quote from ferdinand tampubolon

can give me sample how to optimize custome indicator?

Signals and filters (communitypowerea.com)

Image 5604

Avatar
san takashima
Quote from ferdinand tampubolon

can give me sample how to optimize custome indicator?

I'm happy to as soon as I worked out how to set them up...
I thought it was simple matter of entering the buffer number for Buy and Sell, but 
Well, it doesn't seem to be the case....
may be my problem here is Type?
Not sure...

Image 5603

Avatar
ferdinand tampubolon

can give me sample how to optimize custome indicator?

Avatar
Ulises Cune

We are a community, we are there to help everyone.