@vancedavid said
Any idea's on how to fix this last error. I just cannot see the solution?
Its just the last check mark in block 10

@vancedavid said
Any idea's on how to fix this last error. I just cannot see the solution?
Its just the last check mark in block 10

@vancedavid I spotted a couple things:

Btw, if you just want the basic fractal indicator, its available in the indicator drop-down
@alphaomega in your project, take profit is the average line.
Graphical objects are sometimes buggy, though, its better to simply insert the average variable directly into the TP field.

@floko125 please make a shared link

@gobeef you have to also change all "TRUE" values to "true" - mql5 is picky about the capitalizing there.
@jsauter86 its not bs.
Imagine as a simplest example: an EA that checks if today is a certain date -> then buy.
When you run the optimizer using dates as the input parameter, your computer will surely find the best dates. The EA will look awesome in backtest, totally useless in real trading.
Using many indicators (as we all do) to find the best dates is more complicated approach, but it has the same problem - statistical curve fitting by the optimization algorithm.
@gobeef when you copy blocks between projects, the variables dont actually copy properly to the destination. You have to declare them manually, or:
Download the .mq5 file from my example, and then import the .mq5 to your builder. Then the variables will be declared properly.
@vancedavid use visual mode, I dont know if mt4 tester shows the objects after test.
@eajurms by default, fxdreema EA only works with automated trades, it doesnt touch manual trades.
Change that from Filters -> Group mode -> any trade
@ajmd97fx all right. Candle highs and lows surely work, but I think fractals need a bit different setup.
@baccus no, but keep in mind that 1 lot means $100 000
100% of equity on $1000 account will give 0.01 lots
@vancedavid if your tester runs open prices only, the candles have no body, and body size is always 0 pips.
@skauch youre trying to sell an EA that requires external indicator to work? If someone buys your EA but they dont have the same indicator, they cannot do anything. You see the problem?
@jsauter86 the funny thing with fractals is, the indicator has a value on every candle, even when there is no arrow. The value is infinite in those cases.
So, to get the actual fractal arrows, we need to check that fractal value is the same as candle high/low value (because the actual arrows will be there).
Here's one solution:
https://fxdreema.com/shared/6Yh1m2vJd
I might as well share more, now that I started.
https://fxdreema.com/shared/z6zjcToLb
I used those swings to create statistics for each hour of the day, as we know volatility is different at certain periods of the day. I used some data filters to calculate 3 expected swing sizes for each hour: pessimist case, average case, optimist case.
Now that the EA knows the expected swings for each hour (analyzed from 10 past days), we can plot the estimate when MACD cross happens:

This EA doesnt have any mechanism to predict the direction, it only shows how big the the swing is most likely to be, if it happens.
TLDR: This is just an overcomplicated ATR indicator, lol
Here's a nifty little framework for plotting the MACD swings (or OsMA swings to be precise) on the price chart, like zig zag. A starting point for a larger project of mine, thought I'd share this to anyone interested... 
@nandu here's your strat. Its not going to make you millionaire 
The problem is, you have chosen a very long and stable down trend as your example - literally ANY selling strategy makes money in that situation. In reality, the market isnt always trending so nicely.