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.
If you want to shift the line back by 1 bar at a time.
Thats floating PIVOT. Right? #1
double Flow_Pivot1 = (iHigh(NULL,1440,0)+iLow(NULL,1440,0)
+ iClose(NULL,TimeFrame_Flow,0))/3.0; = Current Day
That's normal PIVOT for today. Right?? #2
double Flow_Pivot1 = (iHigh(NULL,1440,1)+iLow(NULL,1440,1)
+ iClose(NULL,TimeFrame_Flow,1))/3.0; = Back 1 day
That's normal PIVOT but from yesterday. Right?? #3
double Flow_Pivot1 = (iHigh(NULL,1440,2)+iLow(NULL,1440,2)
+ iClose(NULL,TimeFrame_Flow,2))/3.0; = Back 2 Days
I need #1, but xx bars back in any Timeframe.
Same function how this Indi : PrevDayAndFloatingPivot_O.mq4. ( but only the FloatingPivot )
Putz,
It is likely in your EA.
Checking and computing everything on every tick will slow it down a lot,
but yours sounds so slow I wonder if you have loops of loops that make it extra slow. You can send it to me if you want, I can look at it, I may have suggestions.
In my exmaple i would like to compute an indicator (in my example is a Hull MA) in a function, because the goal is to apply the indicator to the tab passed in a function's argument. Do you think this code is it correct ?
On the graphic the blue curve is the indicator compute all in start function, the red curve is the same indicator compute with a call at a function, i don't understand why the results are not the same ?
I have a little prob with my MQL4 code,
i got message ZERO DIVIDE at my experts message.
I'm sure there were no any divide operation will give zero value to my equation.
While i mark some of my code statement with '//', and compile to run,
my code run very well.
After then i open my mark '//' again, at the same place and compile to run again, my code also can run very well again.
If my code have problem, then i'm pretty sure while open the mark '//' an make compilation, my code can't run well, right ?
Is this bugs from MQL4 or i'm write bad code or bad logic on my MQL4 ?
I read from MLQ4 forum, found their explain, that is hard to found why make we got ZERO DIVIDE
Thanks in advanced for one answer this problem
__________________ BornToWin Veni Vidi Vici
---------------------------------------------------------------- Knowledge is POWER, Experience is SKILL, Action got RESULT !
Yes I CAN !
Last edited by BornToWin; 01-28-2008 at 11:40 AM.
Reason: Add result message
how to use Icustom/create EA from custom indicator
Hi. As you can probably tell by my attached EA im no programmer... I have tried to create an EA using some expert advisor builder on the web. Now, i can manage to make a basic EA, with a common indicator.
But im having a real hard time understanding how to incorporate a custom indicator in the EA. Is it necessary to call the indicator from within the EA, or could the indicator code be put directly in the EA? I have tried both and figured maybe the easiest task would be to call the indicator using the icustom function... But it seems that event that was too advanced for me....
In a nutshell, the EA needs to Buy and Sell whenever the custom indicator says so. I would really appreciate any help suggestions i can get...