Yes, all was available.
Fortunately (or so i convince myself) i made a silly mistake with regards to one of the blocks used. The culprit turned out to be the once per day block. Apparently it works across all assets used during the run. Once 1 asset got 'hit' the rest is skipped.
I solved it via the time block and a once per bar block.
Thank you however for taking the time to reply.
Posts made by dcg
-
RE: MT5 - How is the "Set current market" block supposed to work??posted in Questions & Answers
-
RE: MT5 - How is the "Set current market" block supposed to work??posted in Questions & Answers
The line is actually solely there for visual confirmation purposes.
In the strategy tester the charts are actually open so that should not be an issue, as far as placing a line is concerned.
However, storing the H and L in a variable and then feeding it to the comment again shows just one asset being displayed instead of >1. This suggests that there is another requirement to get this working ..?
Btw, your input is appreciated ..
-
RE: MT5 - How is the "Set current market" block supposed to work??posted in Questions & Answers
That is indeed what it says in the description.
However, this is not what it actually does! When de code is executed i would expect a line to be placed at 06:00 (tz is not relevant) in the chart of each currency in the list, within the strategy tester. Obviously this does not happen.
Trying to get the high and low for each does not work either.
So the question remains. How does one use the block so it actually does what it states ..
-
MT5 - How is the "Set current market" block supposed to work??posted in Questions & Answers
Hi,
I'm trying to get my EA to work with multiple currencies at the same time.
However, what i'm seeing is not what i'm expecting based on the description of the block in question. It opens the various currencies and then stays locked into/onto the currency on which chart the EA runs. As can be seen in the example i never get a handle on the proper values of the various currencies which are supposed to be "active".
Example projectHopefully someone can help me out on this one .. Tia
Fermin -
RE: Get a proper Heiken Ashi bull/bear barposted in Questions & Answers
@max-c Tried that as well, no go ..
-
Get a proper Heiken Ashi bull/bear barposted in Questions & Answers
Hi,
I'm looking to detect a full Heiken Ashi bull/bear bar after which i can do something.
What i'v currently got is here https://fxdreema.com/shared/W7gt9i3ebAs one can see it will act on a bar with a wick which is not what i want. I'm looking for the HA-Open to equal (or < ) than the low of the 'normal bar'.
Any help would be appreciated.
Tia,
Fermin DCG -
RE: [MQL5] Dynamic level based stopposted in Questions & Answers
Following is the link to a sample prj containing a way to properly fill an array.
Array fill example -
RE: [MQL5] Dynamic level based stopposted in Questions & Answers
@roar
Filling a static array will indeed work in the way you described.
To make the whole setup complete one can add a condition block to the modify block that tests for the last index value, thus determining the end of the loop. -
RE: [MQL5] Dynamic level based stopposted in Questions & Answers
@roar Yes, this is indeed quite useful. I had completely missed the loop block (although i would not have come up with the way to access the array with the loop_index
).
Guess i still have to write a custom block to test if a level was crossed by a certain bar and determine which level it was. As well as getting the next level going up or down. -
RE: [MQL5] Dynamic level based stopposted in Questions & Answers
Hi @roar ,
Thx for your reply.
This is indeed a thought that has crossed my mind but how do i gain direct access to an output-buffer of an indicator. In MQL5 we would use the handle, call the copyBuffer function and that would be it.
How would one go about that in a custom block?
Or, where could one find a snip of sample code reading indi buffers via the studio option you mentioned (did stumble across it already but without some sample snips it's a bit hard to decipher
)Cheers
-
[MQL5] Dynamic level based stopposted in Questions & Answers
Hi,
I'm running into a challenge which i can't figure out (yet) so if someone could provide a pointer or two that would be great.
Problem:
I'm using the Camarilla levels (indicator with n buffers, each buffer contains a level) as a stop.
What i would like to do is detect a level cross by the price and based on that get the last previous level (or x levels away) . So, price breaks the Pivot level upwards so stop moves to the L3 level. Subsequent break of the H3 level and the stop moves to the Pivot level, etc.Obviously i could make a test for each level but that seems quite silly. I'm not a newbee when it comes to coding so i have a function that takes an array with values and the price and returns the proper level.
The thing that i do not yet see is how to include such a custom function as a block in fxdreema.Any suggestion would be appreciated.
Cheers,
Fermin -
RE: HMA MQL5 Buffer Issuesposted in Questions & Answers
Hi,
I just modified a HMA indi for mq5 (and included 2 ATR bands
)
It seems to do what it needs to do.
Will try to attach it via the upload button.Cheers,
-
RE: Fxdreema issue nowposted in Bug Reports
@fabiobioware It's not your connection, mine is showing the same issue ..
-
RE: Switching the Ryan Jones MM settingsposted in Questions & Answers
@l-andorrΓ
Thank you for the offer but i already wrote a small snip of custom code to accomplish it. -
Switching the Ryan Jones MM settingsposted in Questions & Answers
Started with fxDreema a week ago (after having been programming in mql4 and mql5 for >10Y). My compliments to the developers!
My question revolves around the following:
Sometimes an entry could be made with a reduced chance of success in which case one would be better of with a reduced lotsize (lower loss).
Since MM is key i'm using the Ryan Jones (RJ) Fixed ratio methodology.
Is it indeed impossible to differ between a normal RJ setting and a reduced risk RJ setting?
Basically i would like to use a delta=D and unitsize=U for normal trades and delta=D0.5 and unitsize=U0.5 for the reduced edge trades.
The condition to get to that reduced edge is working as such. It's just the fact that the ordersize is not changing when applying different RJ parameters.Any suggestions would be greatly appreciated.
Tia