10basetom:
Hi, I'm trying to port a ThinkScript to MT5 but struggling on this part of the code:
[ThinkScript]
How would you declare upper in MT5?
Thanks,
Tom
Maybe the MQL5 documentation helps?
Documentation on MQL5: Language Basics / Preprocessor / Macro substitution (#define)
- www.mql5.com
Macro substitution (#define) - Preprocessor - Language Basics - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
10basetom: How would you declare upper in MT5?
def upper = if close[1] < upper[1] then Min(up, upper[1]) else up;
It is a buffer.
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'm trying to port a ThinkScript to MT5 but struggling on this part of the code:
[ThinkScript]
How would you declare upper in MT5?
Thanks,
Tom