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.
Best posts made by Supersako
-
Finding Doji Candlesposted in Tutorials by Users
Latest posts made by Supersako
-
RE: Finding Doji Candlesposted in Tutorials by Users
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.
-
RE: Finding Doji Candlesposted in Tutorials by Users
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


-
RE: Finding Doji Candlesposted in Tutorials by Users
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?
-
Finding Doji Candlesposted in Tutorials by Users
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. -
RE: Steps to take an ea from backtesting to liveposted in Questions & Answers
@l-andorrà
Thats fine with me, actually that would be better since it was already entering at the open price with candle id 1, Im trying my best to simulate that in live with the solution above, but the results between the two arent even close, adding "once per minute" every 15 minutes reduces the trades by 30% and almost makes it not profitable, even though both ea's enter at the same time, is there another way to do this? -
Steps to take an ea from backtesting to liveposted in Questions & Answers
I would like to take this ea from the backtesting stage into live, but im confused on some things
https://fxdreema.com/shared/JKcbqqMadSo I have to swap from candle id 1 to 0 to read ticks, but how do I make sure to only enter at or near the candle close, for this ea I want to enter at the close of every 15m candle, so would I have to do something like this?

I also have stochastics to confirm entry on a higher timeframe which is the 1h and im not sure if this will interfere with it. -
RE: using fxdreema variables with on OnTester()posted in Questions & Answers
@vonmunchy
https://fxdreema.com/shared/8IW5aQHCcThis is how I use to calculate winrate, I don't have any new ones, I just don't use winrate anymore. I have never used csv files so I'm not sure about that.
-
RE: using fxdreema variables with on OnTester()posted in Questions & Answers
https://fxdreema.com/shared/8IW5aQHCc
This is how I use to calculate winrate, I don't have any new ones, I just don't use winrate anymore. I have never used csv files so I'm not sure about that.
-
RE: using fxdreema variables with on OnTester()posted in Questions & Answers
@l-andorrà @CDWilder1 I know this topic is very old, but I actually figured out how to do this, its as simple as putting
v::(your variable name)
inside the return function, so for me, I want to test based on my winrate variable, so my MQL studio function would look like thisdouble OnTester()
{
return(v::WINRATE);
} -
RE: "Set Current Market" block vs running pairs separately not adding upposted in Questions & Answers
ah ok I understand it now. Thanks for the help, and Merry Christmas.