Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 662

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
Well, does anyone already have an RSI iMAOnArray ready to use?
I can see why no one has responded to you with much "help"...
Well, does anyone already have an RSI iMAOnArray ready to use?
there's one in the kodobase, you just have to look it up
Can you tell me how to separate the ticket for buy and sell separately?
ticket=OrderSend("EURUSD",OP_SELL,SellLot,Bid,3,0,0,",MAGICMA,0,Red);
else
{
OrderSelect(ticket-3,SELECT_BY_POS,MODE_TRADES);
OrderClose(ticket-3,SellLot,Ask,3,Red);
}
ticket-3 specially, TK trade is sort of averaged price across multiple orders ) but how do I separate Buy Tickets from Sell Tickets ? so I can take an order that was opened 3 bays ago ) Also for sell
Hello friends!) I have such a problem:
I wrote a prog that opens a template (with the indicators and graphical object I need) on startup, then analyzes the data and trades. when I just run it on a chart, everything works fine. when I run it in a tester, it only works when visualized. i understand that the template can only be loaded on a visually open chart... so it doesn't work in normal test mode, because it just runs on the chart without loading the template... and what about the optimization? i have quite a few parameters, and somehow it's very unreasonable to run each option manually with visualization.
help plz)) how can you solve the problem with the optimization and template?
Score ))))
But I didn't write in MQL, but formally, that's the problem (:
And how could it be determined?
Since the number of values is very limited, we can check it with a direct brute force:
Here we get:
It turns out that they are equal. If there were not 3 but, say, 3 million values, you could still have a machine check - return the results from the functions and compare them. If no difference is found for the entire range, then they are equal.
If an expression is used instead of a variable, e.g. a function call, then equivalence becomes "equivalence with reservations" because of the short circuit of calculating logical expressions.
Hi all!
Made an indicator based on another indicator.
The first buffer counts as it should.
The second one does not: I want it to start counting on every bar after "line1 > 0".
That is basically what I have done in my Expert Advisor:
And after "shift >= shet", the drawing condition is triggered.
I change external parameters of variable "shet", there is no change in indicator.
What may be the problem?
Indicator code:
Hi all!
Made an indicator based on another indicator.
The first buffer counts as it should.
The second one does not: I want it to start counting on every bar after "line1 > 0".
That is basically what I have done in my Expert Advisor:
And after "shift >= shet", the drawing condition is triggered.
I change external parameters of variable "shet", there is no change in indicator.
What may be the problem?
Indicator code:
There's some confusion about adding 0, but try it this way:
Good afternoon.
In the terminal, if I double click on the order line, a modification window opens.
But if the opening price of one order and the take profit of another order are on the line, the last modified order opens.
Please, advise if mql4 has a function to open the order modification window by clicking the necessary order in the indicator?