Hi: I need to test some math equations before moving on to the bigger picture. Can I use a keyboard input and a text output for testing?
- Ellipse plotting
- Processing power of MT5 vs MT4
- Market Products: How to show mathematical formulas
Yes, you can use OBJ_EDIT or even just keydown chart events but if you are only looking at checking some equations doing all that can be more effort than it is worth.
Use a simple script to check your equations and just drag it onto your chart to test the result.
Change your numbers / equations, hit compile and drag onto a chart again.
#property strict void OnStart() { Print(MyEquation(12.3,1.4)); } double MyEquation(double x, double y) { return(pow(x,y)); }
Thank you for the prompt and detailed reply!

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