zzuegg:
hi jürgen, you need to store the previous value, no build in function for that:
thanks man!
shouldnt the static variable be defined outside the int start () ?
static variables keep its value.. they don't get reinitialized.
//z
jdegenfellner:
Variables declared outside of start() are static by default.
shouldnt the static variable be defined outside the int start () ?

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 guys,
I'm currently trying my first steps on MT4 and a strange problem occured.
I know how to get the actual Bid-Price - its simply the command "Bid", but how do I get the Bid-Price one Tick before the actual one??
thanks for your help!
jürgen