Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 685
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
read help by pressing F1 in the source code on "commands" on input or extern ;)i.e. extern is not needed?
yes, input or extern must be removed
yes, remove input or extern
ctrl+a+del, and remember to compile and close the editor)
yes, input or extern must be removed
Is there any easy way to find out if a previous trade closed at stoploss or not?
find the previous trade in the history and see :-) if it closed at stoploss
- I have [sl] or (sl) added to the comment - as far as I understand it depends on the server settings. As a rule the first.
- The closing price is near stoploss.
Hello people. MT4 ))):
In ObjectCreate objects , for example (trend), in the popup window the level price is NOT accurate .
I KNOW you can: 1) use HLINE (the digital value will be on the terminal scale), but it is not accurate in the popup;
2) insert price (name+price) in object name, but then the popup window will have TWO values.
QUESTION: HOW TO CORRECT the valueof ObjectCreate so that the popup window outputs an accurate numeric value of level????
I can't figure out how the TARGET value in the popup is determined.
Is it possible to do a software level corrector? I need a hint, better visually))), and I know how to program.
Thanks for the reply)))
Hello people. MT4 ))):
In ObjectCreate objects , for example (trend), in the popup window the level price is NOT accurate .
I KNOW you can: 1) use HLINE (the digital value will be on the terminal scale), but it is not accurate in the popup;
2) insert price (name+price) in object name, but then the popup window will have TWO values.
QUESTION: HOW TO CORRECT the valueof ObjectCreate so that the popup window outputs an accurate numeric value of level????
I can't figure out how the TARGET value in the popup is determined.
Is it possible to do a software level corrector? I need a hint, better visually)))), and I know how to program.
Thanks for the reply)))
AddObjectSetString(0,name,OBJPROP_TOOLTIP,prices), and insert the prices by which the line is drawn
Hello people. MT4 ))):
In ObjectCreate objects , for example (trend), in the popup window the level price is NOT accurate .
I KNOW you can: 1) use HLINE (the digital value will be on the terminal scale), but it is not accurate in the popup;
2) insert price (name+price) in object name, but then the popup window will have TWO values.
QUESTION: HOW TO CORRECT the valueof ObjectCreate so that the popup window outputs an accurate numeric value of level????
I can't figure out how the TARGET value in the popup is determined.
Is it possible to do a software level corrector? I need a hint, better visually)))), and I know how to program.
Thanks for the reply)))
You don't see the price of the object, you see the price of the mouse cursor over the object in question.
As said above, use tooltips.