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

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
And another question.
Is it normal that I cannot work with the indicator in Debug mode.
When the program reaches the stopping point, the MT4 terminal hangs and the window becomes white (in HP) so that it is impossible to see what is drawn on the chart
I haven't used debugging yet, so far I am doing without it. You must have a clear idea of what you want to do, how to do it, and then write! You have to learn how to debug, too! Study the Documentation, the Articles and the Forum's topics! Dig in!
Explain where I'm wrong, can't find the tool in Market Watch.
Close order by market when price moves below the Low of the previous candle
Hi all. Could you please tell me how to write this mechanism in mql4
Maybe somebody already has this code. Please upload
The previous candle is bar 1: Low(1)-Point*pips (as many as you want). For how to modify see. Documentation!
I don't know much about programming, but what are point & pips
I don't know much about programming, but what are point & pips
Number of pips vertically.
Opening condition:
void CheckForOpen()
{
int res;
//--- go trading only for first tiks of new bar
if(Volume[0]>1) return;
//--- buy conditions
if(Close[1]<<Open[1]<Bar_HighOpen[1] && MathAbs(Close[1]-Open[1])<Bar_High)
{
res=OrderSend(Symbol(),OP_BUY,LotsOptimized(),Ask,3,0,0,",MAGICMA,0,Blue);
return;
}
//---
}
Where to insert the order modify&.
To insert code, please use the insert code button: Insert code correctly in the forum
As for your code: the modification should be done in a separate function. For example, name it
void ModifyOrders() { }