
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
what does it do in general and how to use it?
thanks in advance
The idea of using MessageBox for the indicator to slow down its execution is great. I probably never would have guessed it. It opens up many possibilities for interactive order placement. My respect to you komposter!
As for those criticizing the implementation, I don't know why they say it is "crude".
I'm sure it will be very convenient for many traders to work with your script for placing pending orders.
Horn, I said what I think and I didn't scold anyone at all. So please think about it next time.
Good luck :)
you transfer to the chart. attachment point - opening price. stop-loss - - 50 points, take-profit - +50 points.
you move the lines to the required levels(take profit can be deleted), press ok, the order is placed.
If Openprice_line is higher than the market price - order will be either Buy Stop or Sell Limit (depending on Stop Loss), if it is lower - Sell Stop or Buy Limit (the same).
the script is very crude, no checks, everything is at random =)))
will be enthusiastic - we will improve it :))
Thanks for the clarification, we will definitely take it into account and not do while(true) with orders again.
Here is the same order but modified to sell.
(I hope I have changed everything)
я использовал MB_TOPMOST, попробуй, у меня вроде бы получилось.
Where should I write it?
For example here :)
MessageBoxA(0,ErrorDescription(err), "Error", MB_OK | MB_ICONERROR | MB_TOPMOST);
I'm sorry, I got angry.
That's the beauty of it!
to Komposter:
If it's not too difficult, please refine your script to have all sorts of checks, etc.
And then we'll have three great scripts:
1. One for placing pending orders;
2. one for market buy order;
3. one for market sell order.
That's not enough!
And then we will continue to look for other additional features, maybe people will give some hints or ask to do something specific... and what will be even nicer is if someone joins the development ;)
When compiling theExpert code, an error warning
'4107'-redefinition with another value
It goes to the "log the request message" line.
What needs to be overridden?