Oh yeah - that is so obvious - thank you!
Posts made by RazordLid
-
RE: High and low of previous day time rangeposted in Questions & Answers
-
High and low of previous day time rangeposted in Questions & Answers
I what to capture the high and low of a start range from the previous day although cannot make this work. I don’t want to do this with candles but server time start and end - e.g. 01:00-08:59 of the previous day, using server time. Could anyone assist with this as I am stumped? Thanks!
-
RE: Candle pattern logic EA questionposted in Questions & Answers
Great - good advice!
I am pretty pleased I can develop a reasonable strategy in fxdreema in a couple of weeks.
I am going to see if I can get the much refined version of this done within the week. -
RE: why is backtesting slow?posted in Questions & Answers
I have just see this comment about MT4/MT5 @l-andorrà
Are there any specific limitations with MT5 as that is what I am using? -
RE: Candle pattern logic EA questionposted in Questions & Answers
Thanks - I recreated the whole EA and now it functions. I think I was not recording the variable correctly and that was the root cause.
Next is to make it profitable!
I still think this might be overly complicated still, although this is what I have tried to group it up as -is this a better layout?:
https://fxdreema.com/shared/DFCUqk7lb -
RE: Very basic variable questionposted in Questions & Answers
Thanks for the suggestion. I am still learning the best way to run through the logic..
Out of interest, in terms of the does the logic in fxdreema; would it wait in this logic tree until an orange condition applies, or does it exit on the first yellow, and then restart on the next tick? -
RE: Very basic variable questionposted in Questions & Answers
I have realised that I should be incrementing variables with the white / orange / yellow boxes:

-
Very basic variable questionposted in Questions & Answers
I have a problem were I cannot increment a variable.
I want to count each bear candle and when I count 2, enter a sell. This is just to get the logic to work and I realise that it only counts 1 and then seems to stop. Could someone
guide me on where my logic is wrong?
https://fxdreema.com/shared/6DwrvzyX
I wonder if @l-andorrà or @roar could help please? -
RE: Candle pattern logic EA questionposted in Questions & Answers
Thanks for that! I have moved it and that hasn't remedied it, although I have not used the on time tab before so good to know that is the right place for it.
The core issue seems to be the bull / bear / bear logic. I have stripped this out and when I run this on 5 months worth of data (Pepperstone, Every tick based on real ticks) I only get 9 trades which is wrong.
What this should be doing is looking for a 3 candle pattern of Candle 3 (Bull), Candle 2 (Bear), Candle 1 (Bear) and then trigger the trade.
Would it be possible for you to test this and see if you equally get very few trades?
https://fxdreema.com/shared/ErjjuXPUb -
Candle pattern logic EA questionposted in Questions & Answers
Hi- I am working up this EA and am struggling to get the sell logic working properly. Once I have resolved
I would look to replicate it to the buy side.
The basic logic is:- take note of the Asian high and low (I know this is not the full Asian range, although I read that fxdreema has an issue with going past 00:00 to the previous day, so wanted to cap it there for initial testing)
- wait for price to cross the high
- wait for a 3 candle pattern - bull / bear / bear
- optionally - check that all three candles are still above the Asian high
If all this is correct, trigger a sell.
I am sure I have something wrong in the logic as this is not triggering any sell trades. Previously (and I didn't keep a copy...!) I had this working and it looked promising. I don't have a backup and cannot see what I am doing wrong, except I am sure it is an issue with how I am working through the logic. Any help would be appreciated:
https://fxdreema.com/shared/ErjjuXPUb
-
RE: Debugging / Backtesting an EAposted in Questions & Answers
Hi - I am also new so going though debug testing. I use comment blocks to check that each block is being triggered as expected, and move it down until it stops getting triggered. That has helped me find a few issues with the logic I have been trying to build.
-
RE: Bar logic questionposted in Questions & Answers
@ambrogio Thanks - I knew it would be a problem I created - I will try this
-
RE: Drawing lines exampleposted in Questions & Answers
Oh my goodness - you are correct - I will correct this and try again - thanks!
-
Bar logic questionposted in Questions & Answers
I am testing this logic which I think I have wrong.
What I am looking for is for candles:
3 - Bullish
2 - Bearish
1 - Bearish
To then take and action. This is how I think I should do it although it skips lots of valid conditions with makes me think that it does not start from the beginning again until all the conditions are met sequentially:
https://fxdreema.com/shared/7ACfYO9Yb
Could someone offer what I am doing wrong with this logic? -
RE: Drawing lines exampleposted in Questions & Answers
@l-andorrà thanks for the pointer.
I have tried this although still don't get any lines on the chart.
Would you be able to look at this and give some pointers on where the mistake might be:
https://fxdreema.com/shared/NEcmPRp5d -
Drawing lines exampleposted in Questions & Answers
I have the following code in an EA, where I want to capture the high and low over a period of time:
https://fxdreema.com/shared/jHNigVRyc
I have tried a few times and cannot work out how to draw a trend line on the chart for these two values.
Could someone provide a simple example to head me in the right direction? -
RE: Closing price from specific timeposted in Questions & Answers
Thank you @l-andorrà that is perfect - I hope to ask slightly less dumb questions soon!
-
Closing price from specific timeposted in Questions & Answers
I am sure this is a very basic question although I cannot work out how to do.
I would like to record the closing price, from a previous day (e.g. closing price of a 5 min candle @ say 20:00), as a variable so that I can use it.
What block / function should I use to be able to store this as a variable? If possible, could someone create a simple example? Thanks -
RE: Trying to learn multiple conditions in an EAposted in Questions & Answers
@RazordLid
@l-andorrà
I've had a go and still getting some strange behaviour - would you be able to have a look and let me know why I experience the following problems:- I have set this to Once per bar, and tested it on a 1H timeframe, although I get the initial status message for Stage 1 much more often than this
- When I switch on the Stage 2 condition, I don't get any Log messages from the Stage one at all
https://fxdreema.com/shared/B14C8DZUc
-
RE: Trying to learn multiple conditions in an EAposted in Questions & Answers
Oh right - so I should have Step 1 with an output variable or true / false?
And then step 2 will look for the output variable from 1 to be true to be allowed to run, etc?
I shall try this in my lunch break and do an update. Thanks! @l-andorrà