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

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
Haven't looked for errors yet - lots to do.
To close Sell where the red cross is, you need to check on the current bar. If Ask<= close level && Open[0]>close level
Something does not work at all A Sell deal with the code if(Ask<=PriceLow && Open[0]>PriceLow) OrderClose(OrderTicket(),OrderLots(),Ask,3,White); does not close at all.
If interested in the topic for an expedited contact me skype alexey1979621
Something does not work OrderClose(OrderTicket(),OrderLots(),Ask,3,White); does not close if(Ask<=PriceLow && Open[0]>PriceLow); does not close at all.
If interested in the topic for fast communication with me skype alexey1979621
It didn't work. Maybe this thing if(Volume[0]>1) returns;
Testing at opening prices?
It's all about the ticks
Testing at opening prices?
It's all about the ticks
testing on all ticks testing on all ticks
And where was the indicator line at the time of the Sell close ?
Corrected, closed the trade the same way as in the screenshot above, but I need to close where the red cross is.
I agree that ExtremeTMA is overdrawing, but I guess it doesn't affect the search for entry points, the main thing here is the filters. I used TDI indicator. I attached attached what I made (I don't have good hands, that's why this EA should be handled properly). I have only one problem with it, it takes about 5 hours in tester for 1 year (I have made one mistake somewhere). If it is not difficult to check for errors.
Try to open orders in the following way:
It caught my eye that you set Magic=124, but the code immediately says 124. Same with Slippage, OrderSend and OrderClose have 3 (three).
Corrected, closed the trade the same way as in the above screenshot, but the red cross should be there.
I agree that ExtremeTMA is overdrawing, but I guess it doesn't affect the search for entry points, the main thing here is the filters. I used TDI indicator. I attached attached what I made (I don't have good hands, that's why the Expert Advisor is a good project). I have only one problem with it, it takes about 5 hours in tester for 1 year (I have made one mistake somewhere). If you don't mind looking for errors.
It is possible that the speed of the EA is falling because of the heaviness of calculations of the custom indicator. If you want to check the difficulty of the calculations, do the following script on the chart you trade on. If there is no comment for a long time then decrease N to 100000 or even less. See how many milliseconds it takes per iteration.
And where was the indicator line at the close of the Sell ?