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

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
So as not to start pointing fingers in the sky, I will wait for an answer, or a hint.
Finally, a look into the code! It also takes the spread into account:
But it's better to learn seriously, not by tips! An Expert Advisor won't work for a day without proper professional supervision.
Trading is not a game, but a difficult profession that requires knowledge, hard work and often non-standard solutions due to the unpredictability of the market. I wish you prudence!
In a string.
NULL means the current symbol. As well as Symbol() is also the current character. You have it written correctly.
Question: what type is variable RSI_1?
type double
I don't know)))) but I fixed it to NULL and it just works.
Hi all!
Tried to make an indicator, with three day averaging based on my custom indicator.
It draws a straight line. What could be the problem?
Hi all!
Tried to make an indicator, with three day averaging based on my custom indicator.
It draws a straight line. What could be the problem?
...the mania to put brackets???
...bracketing mania???
Thank you!!! I forgot all about the zero check) It's working!!!!
Brackets... I do that sometimes.
I wish I'd read about the correct placement, but I can't find it anywhere.
Finally, a look into the code! It also takes the spread into account:
But it's better to learn seriously, not by tips! An Expert Advisor won't work for a day without proper professional supervision.
Trading is not a game, but a difficult profession that requires knowledge, hard work and often non-standard solutions due to the unpredictability of the market. I wish you the best of luck!
thanks
but as I understand it here:
if (zeroprice>Ask)
if (zeroprice<Bid)
it checks where the CUE is, above or below the current price.
This is not an EA but a script.
Question if we can add a variable here: if (OrderModify(OrderTicket(),0,OrderStopLoss(),zeroprice+Spread,0,CLR_NONE))
Dear, the question is of the following nature:
where is the best place to do custom indicator averaging in the EA's code or output separately in a new indicator?
I am asking because in the tester when using custom indicators the speed of testing is significantly reduced.
thanks
But as I understand it here:
if (zeroprice>Ask)
if (zeroprice<Bid)
it checks whether the Buy is above or below the current price.
This is not an EA but a script.
The question is whether we can add a variable here: if (OrderModify(OrderTicket(),0,OrderStopLoss(),zeroprice+Spread,0,CLR_NONE))
Look in the Documentation for the rule for writing the OrderModify() trade function!
OrderModify(OrderTicket(),OrderOpenPrice(), OrderStopLoss(),zeroprice+Spread,0,Blue); //set take in / for the Buy if the position is in the negative
OrderModify(OrderTicket(),OrderOpenPrice(), OrderStopLoss(),zeroprice-Spread,0,Red); //set take on/off for sell if position is negative
OrderModify(OrderTicket(),OrderOpenPrice(),zeroprice+Spread,OrderTakeProfit(),0,Blue); //set stop loss in boolean if position is on the plus side
OrderModify(OrderTicket(),OrderOpenPrice(),zeroprice-Spread,OrderTakeProfit(),0,Red); //set stop loss in b/y for the sell if the position is on the plus side
Try it, check the logic! Check in the error log! Good luck in your studies!
Look in the Documentation for the rule of writing the OrderModify() trade function!
OrderModify(OrderTicket(),OrderOpenPrice(), OrderStopLoss(),zeroprice+Spread,0,Blue); //set take on the Buy position if it is in the red
OrderModify(OrderTicket(),OrderOpenPrice(), OrderStopLoss(),zeroprice-Spread,0,Red); //set take on/off for sell if position is negative
OrderModify(OrderTicket(),OrderOpenPrice(),zeroprice+Spread,OrderTakeProfit(),0,Blue); //set stop loss in boolean if position is on the plus side
OrderModify(OrderTicket(),OrderOpenPrice(),zeroprice-Spread,OrderTakeProfit(),0,Red); //set Stop Loss in b/c if the position is on the plus side
Try it, check the logic! Check in the error log! Good luck in your studies!
Thank you!
looking forward to the market opening!