Wow, that went better than expected 
You are welcome!
Posts made by roar
-
RE: Every "n"bars issue.posted in Questions & Answers
-
RE: Trailing Stop and Breakeven not workingposted in Questions & Answers
What constants do you use for the trailing stop parameters? Have you tried changing them, does that affect anything?
-
RE: Every "n"bars issue.posted in Questions & Answers
I haven't done anything like that, so cannot give any definite help

Well, in the formula block, you could choose left operand as market properties - timeframe, and multiply it with some variable in right operand. I don't know if the timeframe is just a minute value, though.. Could be worth a try
-
RE: Trailing Stop and Breakeven not workingposted in Questions & Answers
Does the EA create the initial stops, made by the buing/selling blocks?
Trailing stop doesn't alter the stops if they won't get closer to open price.
In break even block, you have filtered it to work on only group #-2 - why is that
-
RE: Every "n"bars issue.posted in Questions & Answers
I think the "every n bars" counts in a way you dont mean it.
If you mean to close every trade at some maximum age, you could just use the "close trades" block's age filter.
For example close every trade older than 10 hours, "close trades" with filter "Filter trades by age" 10*60=600 minutes. -
RE: Every "n"bars issue.posted in Questions & Answers
You can also use a simple variable to count the bear row.
For example, if you are seeking for 3 bears:On each bar:
Condition: Last candle open is higher than close
if true -> modify variable RowCounter to RowCounter +1
if false -> modify variable RowCounter to 0Now you can make condition: RowCounter is above or equals 3
-> buy -> to reset, modify variable RowCounter to 0built example: https://fxdreema.com/shared/17r2DukKd
-
RE: Every "n"bars issue.posted in Questions & Answers
Hmm, how about playing with a variable of your own, something like this:
On each bar:
- Modify variable beardetector to 0 when trade opens
- If last candle (ID1) open is above last candle (ID1) close (thats a bear) -> Modify variable beardetector to 1
- You can also reset the beardetector to 0 when last candle is bullish, same logic
Now you can just check if beardetector is 1 and continue from there.
-
RE: Every "n"bars issue.posted in Questions & Answers
I'm not sure if I understand what you mean, but remember that you have put the "every n bar" blocks AFTER the "if trade" block. This means the EA doesn't actually count every bar because there is the condition.
Try switching the "every bar" counter to top position? -
RE: The EA (MT5) is not opening positionsposted in Bug Reports
You need to connect the blocks together. They can't work alone.
Post a screenshot of your fxdreema project?
-
RE: Hide the visual modeposted in Questions & Answers
Thanks!
I'd still like the EA to be back testable, just not in visual.Maybe I will do some research on how the HideTestIndicators applies to mt5..
-
RE: Cryptocurrencies are exploding these daysposted in General Discussions
I think the risk stays the same, forex or crypto...
With leverage you can double your account in x time, but in the same time your account blows up.And I think forex is better for more frequent day trading since it (propably) has lower trading costs..
Do you know of any metatrader brokers offering crypto products, so we could backtest them using fxdreema eas? Just curious...
-
RE: How to close trade at close price of bar AND WITH CONDITION IS THE TRADE IN PROFIT NOT LOSEposted in Questions & Answers
Use "close profitable positions".
Your logic should look like this:
on each bar -> close profitable trades -> open the new trades.And please DONT SHOUT WITH CAPS LOCK ITS RUDE

-
RE: Check Ageposted in Questions & Answers
Checking age has been tricky for me too..
In some case I have decided to simply use variables to count the age, like:
once per bar -> modify variable barcount to barcount +1
-> reset the variable when trade closes, or any other condition you like. Very flexible solution
-
Hide the visual modeposted in Questions & Answers
I'm thinking of sharing my eas to other traders, but I don't want others to reverse engineer my artwork

Is there some way to block the reverse engineering using MT visual testing mode?
-
RE: EA Trading Frequencyposted in Questions & Answers
There is no right answer here... 14 EMA on M5 chart is 60 EMA on M1... Its all about the strategy as whole, what kind of enters/exits you are aiming at.
In my experience, RSI is better tool to use in short periods, especially scalping - use EMAs for general direction, crossovers are always too late

-
RE: Storing price levels on multi-currency systemposted in Questions & Answers
Well, the storing values to object -approach worked after all

Edit: No it didn't

For each object -block still needs the chart id to check from.. What does the id actually mean? Is there a way to set it to work just on the "current" chart?Edit2: Worked around my problem by placing one new pending order every time theres a position running but no orders.. I'm almost happy with this,
-
RE: Storing price levels on multi-currency systemposted in Questions & Answers
So I'm building a multi-currency grid-system on mt5. Once I add to volume on existing trade, I want the ea to remember the current price so I can restrict the ea from opening new trades too close to previous opening price.
Pips away from open price -block wont work, because mt5 ignores the LAST position increment and instead uses the average open price.
Storing current candle price at the time of opening to a variable also won't work, because that can't be used on multicurrency - I want to optimize this on many currencies at once.
This COULD be done simply with the "buy pending orders in grid" block, but I don't want to use that because it has certain limitations.
I've been trying to draw a horizontal line at the time of incrementing the position so the ea could check that line individually on every chart - but I can't get it to work.
Any other solutions to this?
-
RE: Fractal indicatorposted in Questions & Answers
The fractal signal needs to be checked on candle ID 2, not 0 which is default.
Reason: For example, fractal UP needs formation where one candle (ID2) is higher than the candles around it so the candle after highest (ID1) needs to be completed before the condition is true.Hope this helps you.
-
RE: How can I work with BUYLIMIT and SELLLIMITposted in Questions & Answers
The limit/stop changes automatically, depending on where the order is compared to current price, doesn't it?
If you place a buy order at 1.000 and current price is 1.100 it will be a buy limit. -
RE: Working with objectsposted in Questions & Answers
No indicator, its an object drawn by the bot.
In the condition block you can select "object on the chart" which i used.