This is a discussion on PriceChannel_Stop within the Trading tools forums, part of the Trading Forum category; Hi Igor, Giving Error "Array Out of Range" when set Channel Period 2. Regards, Jag Originally Posted by igorad Hi ...
Hi Jag,
Thanks a lot for finding a minor bug.
Please check out the fixed versions.
Regards,
Igor
Igor, The PriceChannel_Stop_v9 MT5 indicator has an error on line 453.
'iTime' - override system function PriceChannel_Stop_v9.mq5 453 10
Regards,
Rogerio
Premium Trading Forum: subscription, public discussion and latest news
Trading Forum wiki || MQL5 channel for the forum
Trading blogs || My blog
Is it possible to program a donchian like channel into the price channel stop?
Dear Igor,
I would like to use your pretty good indicator in my EA. I am an old hardware engineer, not exactly a programmer. I got it working in principle, but it does not always open a position. I cant figure out why. I also dont understand why the opening of a new position depends on the value of the Channel Period, since the signal is always triggered.
If I am using lets say value 4, it does paint the Up/DownStop Line and produces an alert message, but no position is opened.
The code I am using to get the signal:
What am I missing?CopyBuffer(PCS_handle,1,0,2,UpSignal)<=0 ||
CopyBuffer(PCS_handle,4,0,2,DnSignal)<=0 ||
Thank you very much.
Reinhard
PriceChannel_Signal_v2 EA - expert for MetaTrader 5
The custom indicator 'PriceChannel_Signal_v2' ( I took the indicator here ) generates several signals: two types of signals to open a 'BUY' position, two types of signals to open a 'SELL' position, one signal to close 'BUY' and one signal to close 'SELL'. No Stop Loss, No Take Profit, No Trailing.
more...In this article, we will talk about a very important concept in trading which is trend identification as we will learn about a technical tool that can be helpful in that which is the Donchian Channel indicator. This indicator is a trend following the same as we will see.
Bookmarks