AAMD:
hey guys,
I need help with my EA debug code to see the volume. I'm programming with the following code and the volume is not reflected in the journal tab of the EA:
if (debug) {Print ("SV", sv1, "BV", BV1, "P1", Ask, "P2", Bid, "V", Volume);}
I dont know where is the error
Waiting for your comments
Thanks,
Print statement are logged in the Experts tab, not Journal.
And Volume is an array, use it as : Volume[index]
you mean like this?
if (debug) { Print("SV:", sv1, ",BV:", bv1, ",P1:", Ask,",P2:", Bid,",V:", Volume[index]); }
AAMD:
What bar number do you want the tick count ( volume ) for ? if it is the number held in the variable index then yes it will work.
you mean like this?
if (debug) { Print("SV:", sv1, ",BV:", bv1, ",P1:", Ask,",P2:", Bid,",V:", Volume[index]); }
RaptorUK:
What bar number do you want the tick count ( volume ) for ? if it is the number held in the variable index then yes it will work.
What bar number do you want the tick count ( volume ) for ? if it is the number held in the variable index then yes it will work.
15M
I write this and is not working:
if (debug) { Print("SV:", sv1, ",BV:", bv1, ",P1:", Ask,",P2:", Bid,",V:", Volume[15]); }
I fix it. Volume[0]
Thank you,
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
I dont know where is the error
Waiting for your comments
Thanks,