Price Channel - page 5

 

Please try to test fixed version of PChannel_m3.

Files:
 
igorad:
Please try to test fixed version of PChannel_m3.

thanks. testing now...

 

how do you know if you have truly reached the bottom of a price channel?

 
sed34:
how do you know if you have truly reached the bottom of a price channel?

Visual confirmation?

When the bar touches the lower channel?

 

igorad n stopline

well i found this under coincident that igorad avatar

trend laboratory have stopline in it

they are one category of their own

so how many stopline out there

 

You've been registered on this forum for a year, and you don't know about search function?

Interesting- use it.

"Bands" "BbandStop" "StopLine"

Bye.

 

Need Help On PriceChannel EA

Hi All,

I've recently exploring this thread on Price Channels and discovered both the PriceChannel_Stop_v6 and PriceChannel_Signal_v1.2 are great indicators and have been trying to write a simple EA to make use of these 2 indicators. Unfortunately, I had no success and would like to seek some help here on how I can fix my programming block ???

The EA I'm trying to write is simple, it will take a signal or Globalvariable from the PriceChannel indicators and base on the signal, open a trade on MT4.

So in the PriceChannel indicator I have added this Globalvariableset:

if (trend<0 && !UpTrendAlert)

{

string Message = " "+Symbol()+" M"+Period()+": Signal for BUY";

GlobalVariableSet(Decision,1);

Alert (Message);

UpTrendAlert=true; DownTrendAlert=false;

And on the PriceChannel EA, I have written the code as such

int start()

{

//----

int decided=GlobalVariableGet("Decision");

if (decided == 1)

{

OrderSend(Symbol(),OP_BUY,1,Ask,3,Ask-stoplos*Point,Ask+takepro*Point,"",1234,0,Red);

}

else if (OrdersTotal() == 0 && decided == -1)

{

OrderSend(Symbol(),OP_SELL,1,Bid,3,Bid+stoplos*Point,Bid-takepro*Point,"",8383,0,Red);

}

The EA compiles properly with no errors, but does not get the signal and never opens any trade.

Can any kind soul out there point out how I can fix my simple EA ?

Thanks,

Taz

 

Need Help On PriceChannel EA

Upz...

Really need some kind help here guys ???

 

Hi FTaz, please read page 4 post 31 in this thread.

 

I need price channel mtf

Can anyone help me

Reason: