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
But you still don't need to use RefreshRates(), Bid and Ask are never going to be out of date in that code.
Thank you so much.... It is really a big help for me...
I would like to ask if the formula that i used to compute the average of spread per tick is:
Average=(Ask-Bid)/Tick
Why not just use a EMA
Not tested, not compiled
Not tested, not compiledWhy not just use a EMA
Not tested, not compiled
Not tested, not compiledThank you for your reply i hope you can help me also on how to apply it on an indicator. can you lend me some codes?
tnx...
Since there are no slaves here, you have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt and the nature of your problem.
// IndicatorDigits(0);
Don't complicate things until you get it working.// MessageBox(DoubleToStr(Bars-counted_bars,0));
Indicators can NOT waitSpreadBuffer[i]=spreadAve; MaxBuffer[i]=spreadMax; MinBuffer[i]=spreadMin;
SpreadBuffer is no draw? you meant AveBufferHi guys.How can i find MAX spread that Alpari uses on every currency pairs? I wanna modify my orders and i need to know
max spread .Of course there is a link in myalpari that min spreads have been written.But min spreads aren't important.How can i find that?
Hi guys.How can i find MAX spread that Alpari uses on every currency pairs? I wanna modify my orders and i need to know
max spread .Of course there is a link in myalpari that min spreads have been written.But min spreads aren't important.How can i find that?
Why do you use the variable "int ticks;" and not the default variable "ticks =MarketInfo(Symbol(),MODE_TICKVALUE);" to get the average spread?
Why do you use the variable "int ticks;" and not the default variable "ticks =MarketInfo(Symbol(),MODE_TICKVALUE);" to get the average spread?
This topic is over 7 years old, so I should hope that he has it sorted by now.
int ticks is used to count the number of ticks so TICKVALUE would be no use.