Finding Doji Candles
-
Thought I should share how to find doji candles based on the percentage of the whole candle
https://fxdreema.com/shared/b0aptFLQc
In the tester you can set what percent of the whole candle should consist of the body
If you set it to .5, any body that is less than 50% of the whole candle will be considered a doji and will buy. -
@supersako Thanks for sharing, but your project is not working.
-
What's not working? I've been testing it and its working fine for me, did you copy the project and create the constant and variable used?
-
@supersako I didn't change anything in your project. I just made the doji percentile 0.25... But it didn't work

-
Okay, so for it to work, you need to create a new project, then copy and paste the blocks from my project over into the new one you just made, then you need to create the constants and variables that are in my project. Also this is for mt5 only


-
@supersako If anyone clicks your link and then MQ5 button they will get your exact EA fully working, this will also work for MT4 people just need to change the no position blocks for no trade blocks.
-
Interesting, I was not aware of this. In that case I have no idea why it's not working for @LadyDolares, I've reinstalled and tested it multiple times, and just tried it directly from my link, setting it to 0.25 works as well for me. I just don't know.
-
@supersako I'm using MT5, exactly, I saved your project directly and set the constant to 0.25. This was something I couldn't do and you succeeded, but I can't run it. It's very sad
I'm sending your project link to check if there is any difference with yours.https://fxdreema.com/shared/hXKN8Fzcd -
@ladydolares What values can be chosen for that 'Doji_percent' Constant? Is it a real percentage? Is so that is the problem. You need to transform it into decimal ratio before.
-
dear @l-andorrà this is @Supersako 's project is not mine. I also wrote it as a decimal number to the constant. But it doesn't work

-
@supersako Hope this helps people, have added formula block so if body is =< total, by taking total, dividing by 100, multiplying by doji percent constant. I haven't tried tried your project, just added to to yours, using defined maths is how I prefer to do things.link text
-
dreema has built in candle searchs as well

-
The direction of the signal from the doji candle depends on the trend it is preceeded by. It is a buy signal when it's preceeded by a down trend and vice versa. The system should require it.
Good initiative though!