[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 142
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
If you're worried about oversleeping then change this line
\ if ( WarningMode>0 ) PlaySound(soundfile); \
indicator to this one
\ if ( WarningMode>0 && shift==0) GlobalVariableSet("Alarm",1); \
and create an indicator like this
And when you fall asleep you not only set the main indicator but also the alarm clock.
The alarm clock can be switched off manually by changing the value 0 in the Alarm clock variable via the F3 key.
What do you need it for? Tell me more about it, maybe there's a solution, and you don't know how to ask the right questions so people understand.
I have two solutions for what you wrote, it would take too long to write two at once :)
..
By the way, it's better to attach such long codes as a file.
And for the code there is a special button SRC
Yeah, I need it so I don't miss the signal.) Only once the alarm goes off, it's easy to miss it especially at night((( And what does it mean - alarm??? What will happen?
I changed the line... I created a new indicator Alarm..... but I don't understand... it works all the time regardless of whether the indicator gives out a signal or not... Even if there is no signal from the indicator, the alarm clock beeps continuously)))) There is no signal, but the alarm clock works...
I need it so I don't miss the signal)) It only sounds an alert once, easy to miss especially at night((( And what does it mean - alarm??? What will happen?
Change the line in your indicator as described above.
Compile and run the attached indicator.
It will ring on every tick, until you disable the indicator or reset the "Alarm" global variable
Moving Average Expert Advisor.
I have inserted functions KimIV to open an order (GetSizeLot() OpenPosition CorrectTF(int TimeFrame=0) GetNameOP(int op) ModifyOrder() ExistPositions() Message()). Hadn't reached the closing yet. I have created its own indicator data function void Indicat_Var(), to have indicator data in one place and to use it at any place of the program.
When you access with function CheckForOpen() to Indicat_Var() everything is fine, but when you access with function CheckForClose() to Indicat_Var() orders are not closed I don't understand why
I also think that functions CalculateCurrentOrders(string symbol) and ExistPositions() duplicate each other.
Please help me understand
The lot calculation function was originally provided in the EA. If you added another one(GetSizeLot()), then (at least) remove the original one - LotsOptimized()
//------------------------------------------------
Indeed. Functions that determine the presence of open positions duplicate each other.
One of them can be removed. (Learn how they differ, and which one you need more!)
//--------------------------------------------
See https://www.mql5.com/ru/articles/1385
There, just there, is a modification of this EA with Russian comments in the code.
Modification, - Exactly, by closing.
Do we mark the OPEN and CLOSE POINTS on the chart?
Question to the pros - is there such an indicator or script,
which draws the open and close points on the chart?
of an order? It connects them with a line,
The red one is a loss. Useful for analysing errors on history!
I think you have already been asked this question.
You can drag a trade directly from the account history to the relevant chart with your mouse.
And you will get what you are looking for.
I saw the script somewhere. I think I.Kim had such a script.
http://www.kimiv.ru/index.php?option=com_remository&Itemid=13&func=fileinfo&id=32
Asking for help from connoisseurs on the Cursor with a price,
Thank you!
Please help me to understand why my open orders do not close when the trend changes (open conditions). And how can i fix this error!
The code is like this for me:
Can you please tell me how to get a signal from a smoothed rsi? (MA => RSI).