Will this EA monitor open trades for the chart and close half the trade on reaching a certain target profit and move the stop loss to plus 10 pips of the opening price ? Have I missed anything in the code? How could I stop it acting on the half
I want to modify existing orders when the price action has moved beyond 50 pips from the order open price. I have the following using the ticket variable of the last opened order but the strategy tester does not have any modified orders only buy and
The value here comes out as 0.00 What am I doing wrong in the iMA ? Comment("Teeth value (red) is: ",DoubleToStr(iMA(NULL,0,TeethPeriod,0,MODE_SMMA,PRICE_MEDIAN,i),2)); This only happens on GBPJPY
This EA in the tester only entered 1 trade in over 2 years worth of data. Any ideas why? It's based on the alligator indicator and when the green line moves below the red line or vice versa, it should enter a trade. All trade closes are handled by
Wondering if there are any articles on MUST HAVES or DO's and DONT't for an EA trading strategy . I want to design an EA that opens 1 buy or sell trade at a time based on indicator signals and changes the SL based on another indicator as the PA is
Hi When I use the Alert function , it makes the alarm sound once. How can I get it to repeat the sound every 10 seconds and then stop when I press the Ok button like the normal alarm system already built into MT4
How do you get user input for the external variables here? Also, what is the function to have the message box say OK, rather than YESNO? [quote] //+------------------------------------------------------------------+ //| Lot amount based on SL.mq4 |
Where is the value of the AO in this code? I want to add an alert that tells me when the zero value has been hit or there has been a cross from +ve to -ve and vice versa: [quote] //+------------------------------------------------------------------+
I am modifying the alligator indicator. I want it to send me a screen alert when the green line crfosses the red line but it does this constantly, not just once and then again on the next cross Any ideas: [quote] for(int i=0; i<limit; i++) {
I am working on an EA where I want it to close out 1/2 the existing order on reaching a specified TP, and then moving the stop loss to +10pips of the entry price, then sending me an alarm. How can I right click over an order and enable this in the
Does MT4 only allow alerts for the market price? I want to add an alert for RSI levels, SAR levels, etc. Also: When I hold the mouse over a candle it sometimes gives me the open close high and low but not always. When I hold it over a bearish candle