signal.it: how can I stop it if the price goes back?
- When in doubt think? Test the current value vs. new value.
ObjectSet ("HLine", OBJ_HLINE,High[0]-50*Point);
No such function in MT5. Why did you post your MT4 question in the Root / MT5 Systems section instead of the MQL4 section, (bottom of the Root page?)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Next time post in the correct place. The moderators will likely move this thread there soon.- OBJ_HLINE is not a property.
Perhaps you should read the manual.
Object Properties - Objects Constants - Standard Constants, Enumerations and Structures - MQL4 Reference
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'd like to create a trailingstop function, I've created these lines of code that work, only if the price goes down the line keeps changing, how can I stop it if the price goes back?