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.
Matrix, could you help me where I can get the MTF CI indi? do you know where I can find the Stealth indies? Thank You
Quote:
Originally Posted by matrixebiz
Ok, I get Shift, will have to do more reading about Mode.
Do you code? I have this indicator that I call from my EA but not sure how to set it up properly. See pic.
it just has two lines and when Blue changes and lines up with the other line, Long signal is generated (Same idea with Red)
Tried a few different codes like the one I used with the VQ indicator;
double Entry1 = iCustom(NULL, 0, "VQ", 24, 30....., 0, 1);
double Entry2 = iCustom(NULL, 0, "VQ", 24, 30....., 0, 2);
double Up2 = iCustom(NULL, 0, "VQ", 24, 30....., 1, 2);
double Down2 = iCustom(NULL, 0, "VQ", 24, 30....., 2, 2);
Matrixebiz, and Ralph,
If you want to use VQ for an EA, it has a 2 bar lag. I strongly suggest you see my work posted here: Volatility Quality Index
see Post 319.
Ralph, can you help me with any of my problems? I will appreciate it!
One here: How to code?
Post 702.
How to get multiple values from custom indicators ?
Hi folks,
I need to get values from custom indicator using iCustom function, but it seems that iCustom can only get one return value.
If a custom indicator return more than one value, how can i get a certain value I need ?
For example, a pivot indicator will return 2 or more values of Support, Resistance ... so, how can i get each value in an indicator ?
Normally read the amount of buffers in the indicator. If there are two buffers, then using iCustom address each buffer.
Example:
double Buff0=iCustom(NULL, 0, "Pivot",13,0,0);
double Buff1=iCustom(NULL, 0, "Pivot",13,1,0);
double Buff2=iCustom(NULL, 0, "Pivot",13,2,0);
If there is only two buffers in the indicator, buffer 0 normal relates to the indicator color that represents going up. Buffer 1 normal relates to the indicator buffer going down.
Also, if the indicator graphs various colors, you can open the indicator setup screen box on the platform and select color setup. Sometimes the buffer and color will be listed in order so you can see what buffer (and color) does what. The order may list #1, which is buffer 0, color green(or lime). and then #2, which is buffer 1, color red, and so on.
if iLastRegular is 1 it will release BUY to EA ...
Here I wanna add 1 more condition for the indicator called Lagurerre-ACS1 with settin 0.6,1000,2, trigger a buy after the indicator >0.15..
Is it something like that below..??
thx in advance
sonic
It seems to be OK according that the buffer called is the 1st (named 0). Guess that you know which one you need.
Just a suggestion. When you write multiple conditions, better to make them separately because in your case, even if only the first is valid, all the others are calculated each tick and then make the EA calculation heavy. Here's how you could write:
The best would be to sort the condition with the one which give the signal the lastest at the beginning of the conditions. Like this the "loop" of conditions will be calculated in full not every ticks but when almost all are valid.
Hope that helps.
FerruFx
__________________ FerruFx / www.ervent.net - Professional Coding Services (EAs/Indicators/Alerts)
It seems to be OK according that the buffer called is the 1st (named 0). Guess that you know which one you need.
Just a suggestion. When you write multiple conditions, better to make them separately because in your case, even if only the first is valid, all the others are calculated each tick and then make the EA calculation heavy. Here's how you could write:
The best would be to sort the condition with the one which give the signal the lastest at the beginning of the conditions. Like this the "loop" of conditions will be calculated in full not every ticks but when almost all are valid.
Hi i was trying to program an ea, and i followed your course (very intresting!)
I know quite well how to program in java and some c++
I was trying to program an ea with brain trend indicators the idea behind is
when brainTrend2stop and braintrend1stop DOTs are present buy (and viceversa)
Hi i was trying to program an ea, and i followed your course (very intresting!)
I know quite well how to program in java and some c++
I was trying to program an ea with brain trend indicators the idea behind is
when brainTrend2stop and braintrend1stop DOTs are present buy (and viceversa)