Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 998
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 use this algorithm in your programs, remove it
and see what happens.
If you use this algorithm in your programs, remove it
and see what happens.
or immediately without comparison or enumeration, just enlarge the desired cell:
Everything will work out fine, Vasiliy is right if there are no orders, there will not be any iteration of the cycle.
When running an EA, the End of Test Time alert systematically pops up. How can I get rid of it?
When I start my EA, I see the End of Test Time alert systematically. How do I get rid of it?
prohibit the alert when you bind an EA or go to the properties of an EA and check the prohibit alerts - tick this box and you won't see any alerts (this is how it should be done)!
prohibit the alert when you bind an EA or go to the properties of the EA, there is prohibit alerts - tick this box and you should not produce any alerts (I think this is how it is done)!
prohibit the alert when you bind an EA or go to the properties of the EA, there is prohibit alerts - tick this box and you should not receive any alerts (I think this is how it is done)
(If the last trade on the current chart closed with a negative value, then the next open with double value)
Example ( buy on the EURUSD 0.01 lot - closed minus the next opening should be 0.02, etc.) guys who know how to write write it correctly please - because I'm already sick and tired to look for it!
Thanks in advance)
For me it is enough to start with (if the previous order was closed with a minus in the current currency pair) and then I will do it myself).
Hi all, help with the owl... Was writing it myself and this is my first project... how to explain that you have to sell if condition : macd3 >0 && macd2<macd3 && macd1>macd2 , and sell vice versa...
Here is the owl itself
void OnTick()
{
//indicator...
double macd1 =iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,1);
double macd2 =iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,2);
double macd3 =iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,3);
if (macd3 >0){
(macd3 >0 && macd2<macd3 && macd1>macd2 ); //Buy.
OrderSend( Symbol(),OP_BUY, Lot, Ask, Slippage, Ask-SL*Point, Ask+TP*Point, NULL, Magic, 0,Blue);
}
else if (macd3 <0)
{
(macd3 <0 && macd2>macd3 && macd1<macd2 ); //Sell.
OrderSend( Symbol(),OP_SELL, Lot, Bid, Slippage, Bid+SL*Point, Bid-TP*Point, NULL, Magic, 0,Red);
}
}