You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hi, i have some trouble here... ~~
i wish to make a new ea with rvi indicator,
but seem i have big mistake.
even i looked at to this page https://www.mql5.com/en/articles/1456,
but still have problem.
here is the code i do.
anyone can please lend me a hand to make this easy ea ??
You can NOT use Indicator buffers or other Indicator functions such as IndicatorCounted() in an EA. Create an Indicator, access the Indicators buffers from your EA using iCustom. You could also simply use the iRVI function that mql4 offers . . .
init() is for code that you want to run once when your EA starts, deinit() is for code you want to run once when your EA is closed down . . . start() is for code you want to run on each tick . . .
how to know the highest and the lowest of candle of any timeflame ..
as above, i wish to defined a= highest price of candle
and b=lowest price of candle
trying to add zigzag indicator into my EA.
but still variable not defined.
how to fix these error ??
as above, i wish to defined a= highest price of candle
and b=lowest price of candle
trying to add zigzag indicator into my EA.
but still variable not defined.
how to fix these error ??
Did you declare ZigZagHigh, ZigZagLow and ExtDepth ?
iHighest and iLowest return the number of the bar that is the Highest/Lowest . . . an they look at bars starting with shift and by looking at ExDepth bars . . .
finally done the variable problem,
now is only
( - function definition unexpected
) - unbalanced right parenthesis...
is it l left put ( and ) on my code??