Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
looking at the price channel in the past it makes sense. but going into the future it doesn't seem to draw itself right. There can be a big false signal if you're basing that on your trade and volitility.
Yes u right man, should use this price channel with other indicator...
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
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[i+2]<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*Poi nt,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 ?