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.
//+------------------------------------------------------------------+
//| Signal Begin(Entry) |
//+------------------------------------------------------------------+
if (False) Order = SIGNAL_BUY;
if (False) Order = SIGNAL_SELL;
//+------------------------------------------------------------------+
//| Signal End |
//+------------------------------------------------------------------+
Also, no definitive criteria for order signal, the mq4 was generate from a template, ExpertAdvisorBuilder, just re-check variable and signal entry point.
Thanks for responding All I want is for the EA to look at the Indicator(s) and if it says to Buy then Buy and if it says Sell then Sell. Yes, as you can see I used a template and thought all I had to do was put the 'extern' values from the indicator into the Buy and Sell locations. They are the same because it is the same indicator and the indicator puts an Arrow on the chart when to Sell or Buy. Let me know if you need more info. I don't even know if what I want to do is possible the way I want it to work. Basically when the indicator signals Buy or Sell then I want the EA to see that and place the trade.
Hi, I've changed the code so that it enter trades. Two versions. One only trade when their is an up or down arrow (My first EA2) and the other one trades when the indicator moves upward so if previous trade was profitable or loss and VQ still moves up it will enter another buy trade. I hope this help.It isn't the best coding but then the EA is spagetti code.
Hi, I've changed the code so that it enter trades. Two versions. One only trade when their is an up or down arrow (My first EA2) and the other one trades when the indicator moves upward so if previous trade was profitable or loss and VQ still moves up it will enter another buy trade. I hope this help.It isn't the best coding but then the EA is spagetti code.
Regards
Derik
Ok, thanks allot
Two things;
1 - do I have to use the extra VQ indi you attached? can you post the mq4.
2 - I have four other indicators to add, did you make it simple for me to add the links in the EA to the other indicators?
Like if I wanted to add B Bands or something?
How would I change it to have the EA only trade when all four indicators agree at the same time?
Thanks again.
Last edited by matrixebiz; 01-31-2008 at 03:48 PM.
MA10>MA20 && MA11<M21 && all the other rules. This is a cross up entry.
The change that 4 indicators will be up at the same time will give a few trades. For instance the MA10>MA20 will give trades only when trend is up but a cross only happens every now and then. So use the trend instead of a cross....etc.
MA10>MA20 && MA11<M21 && all the other rules. This is a cross up entry.
The change that 4 indicators will be up at the same time will give a few trades. For instance the MA10>MA20 will give trades only when trend is up but a cross only happens every now and then. So use the trend instead of a cross....etc.
Hope this help.
Wow
Ok lets say I wanted to add a indicator called QQEA, would I add;
double Entry1 = iCustom(NULL, 0, "QQEA",5,14,4.236, 0, 0);
double Entry2 = iCustom(NULL, 0, "QQEA",5,14,4.236, 0, 1);
under the VQ indicator? how do I know what Shift value to use (0-7)?
Then how would I modify the Buy rule to have VQ and QQEA when agree at the same time?
Last edited by matrixebiz; 01-31-2008 at 05:39 PM.