I'm not sure, but I do know the first trade was taken right after the red support rectangle appeared. That trade should not have happened because it was way too close to the rectangle.
Posts made by Bettyblue
-
RE: Question about strategy tester and objects on chart.posted in Questions & Answers
-
RE: Question about strategy tester and objects on chart.posted in Questions & Answers
Still having issues. Could some kind soul have a look at my project and see what I'm doing wrong? I just used a basic RSI crossing level and 200 MA for trend. The rest is for the support and resistance objects. As you can see in the screenshot, its still taking trades right by the S&R levels, despite me putting the minimum distance from them as 10000 pips (just to ensure no trades are taken).
I'd be very grateful if you could steer me in the right direction.
Thanks
B
The indicator I'm using is this one. I've set my colours to lime for resistance and red for support.
SR.ex5https://fxdreema.com/shared/wak18GDxe

-
RE: Question about strategy tester and objects on chart.posted in Questions & Answers
Thanks for that. So basically because of the way that ea works, its looking for price to be between two object price lines (i.e. inside a rectangle) and then waits for the break above. But, what if I wanted to AVOID trading near rectangles (S&R areas)? So I would be buying normally, but if price came within x pips of a resistance rectangle it wouldn't be allowed to buy. And if I was selling normally and price came within x pips of a support rectangle, it wouldn't allow sells.
Basically I'm trying to avoid buying into resistance and selling into support.
-
RE: Question about strategy tester and objects on chart.posted in Questions & Answers
@jstap As expected, it did nothing unless visualise was turned on. Question. If you have multiple rectangles on the chart, all the same colour and same name prefix, how does the EA know which one it is reading price coordinates from?
In this tutorial from Miro, he is taking the price coordinates from a support/resistance rectangle. But his "for every object" only filters by "rectangle" and name prefix. So there are multiple rectangles on the chart that have the same properties. So how does the EA know which one to read the coordinates from? Nearest one? Furthest one?
https://fxdreema.com/forum/topic/4209/tutorial-07-read-prices-from-indicator-objectsP.S. I bought your book. Amazing work mate! Well done.
-
RE: Question about strategy tester and objects on chart.posted in Questions & Answers
@jstap said in Question about strategy tester and objects on chart.:
If ea is using the objects (not the actual value) then it will only work in visual mode.
Thanks jstap. The indicator is in the indicators folder and the objects would normally be on the chart, but if visualisation is turned off, there is no chart. The EA would be pulling the value from the object using "for each object" blocks and check distance blocks. Does that make sense?
-
Question about strategy tester and objects on chart.posted in Questions & Answers
Hi all,
If I have a support and resistance indicator that plots objects on the chart and I use those objects as signals/areas/prices in my fxdreema project, what happens when I backtest the project in the MT5 strategy tester (with visualisation turned off)? Will the tester be able to access those objects? If not, what can I do to enable me to backtest it?I don't have anything created yet. Just needed to know before I start.
Many thanks
B