Posts made by CPxiom
-
RE: Is there a way to configure the EA to wait for 3 consecutive losses and then enter orders?posted in Questions & Answers
@trader-philipps I'm looking forward to take this further. This is "linked" to something that I was researching, but maybe a different thread would be more appropriate to it. With your pre-latest modifications (didn't test the latest for now), live loss count, and virtual win count, it's practically almost done. At the moment, I'm researching how to add a chart subwindow, and plot a combined equity line, if you know what I mean :). Awesome project!
-
RE: I am trying to limit trades to only 4posted in Questions & Answers
@jzfusion It might be that you are using bears/bulls in a row to count for only one bull/bear candle. If it is a row, maybe it should be a minimum of two. Try with two, three, or use another block like bear candle, bull candle, found in the same place.
-
RE: Is there a way to configure the EA to wait for 3 consecutive losses and then enter orders?posted in Questions & Answers
@trader-philipps This looks really really great, and it's a very important project. It's more than what meets the eye here...You're the inspiration.
-
RE: I am trying to limit trades to only 4posted in Questions & Answers
@jzfusion Ok, try it that way, but important! Change signal type from continuous to once per bar. I used these blocks, and run into the same issue, and after changing, there was no problem.
-
RE: EA with BBandsposted in Questions & Answers
@giovanni For 1: Set the candle ID to 1 in block 13(more options) as for buys, I guess it was omitted.
For 2: check those tick boxes at the right in blocks 12, 13, so you can change parameters.
If you need different parameters for different timeframes, then those should be on different branches, and maybe make a condition which to trigger when. You can set different timeframe in more options.
For 3: If you need different settings in the trailing, change custom level to pips, and then the trailing start as well.
To work on trader.philips project, you need to download the mq4. Then, load the project, this imports variables and everything. Otherwise, you can't work on a shared project, the changes you make are reversed to original after a while. -
RE: I am trying to limit trades to only 4posted in Questions & Answers
@jzfusion The bears/bulls in a row - signal type - is set to continuous. Set it to once per bar. Check trades count should be under the trigger conditions. Duplicate.
Trailing stop can be attached to the yellow dot (else). This reads as - if no trade - then if bulls in a row - buy. Else (yellow dot)(if trade), trailing stop.
Or you could put it separately with pass block as suggested. -
RE: Is there a way to configure the EA to wait for 3 consecutive losses and then enter orders?posted in Questions & Answers
@trader-philipps Outstanding excellent project! Felt inspired little bit :), so I tried to solve the draw trades part.
This is MA 5 x> 20 buy example.
The important thing is that the line has to be drawn after close condition, because that is when we have all data.
For the entry time, I used candle time, and counted candles so I could have the Candle ID. Closing time is ID1 after close condition.
Price variables (open and close) are modified when conditions happen.
https://fxdreema.com/shared/NQ06zsQnb
This is not adapted to the project, this is figuring it out project :). Fun.

-
RE: chart refreshposted in Questions & Answers
@zackry The "window redraw" is the correct one. I see refresh rates is for something else.
-
RE: any tips u can give when testing ea on broker? should i switch to test on different ones?posted in Questions & Answers
@mynds9 Lol, I had the sensation sometimes, that the market learns what the EA does, and the next day messes everything up so you don't win.
For almost a year now, I did only forward testing, and watching the market this way, was the best thing, as it helped tremendously with market understanding.
This is not something we can learn linearly... this is more like direct observation of physics, and nature.
In the same way like when you see that if the sun is shining, there is more heat... so you don't take your jacket. But then there comes a time, like winter, when that's not necessarily true. Market also has it's phases, it's own nature, physics. Like in life, with experience, you kind of come to know when to take a jacket or not. But this is only the first part. Because that helps with trading manually. There is also the psychological aspect, and you come too see... this is life, it's direct, not some job...
Trading "touches" deeply
Second part, with EA's, transposing something like that observation in rules and conditions, it is kind of like writing the laws of physics.
For me this is also fascinating
There is spread manipulation for sure, I have seen spreads going from 3 to 50 but for that put a spread filter block as a condition, although that doesn't save you from a stop loss wipe out after you entered a trade. Increasing stop loss size messes up the R:R , so it's not easy finding the balance. -
RE: chart refreshposted in Questions & Answers
@zackry In mt4 docs there is something Refresh rates. Maybe some custom mql block with a function would do the job.
-
RE: Is there a way to configure the EA to wait for 3 consecutive losses and then enter orders?posted in Questions & Answers
@tom-5 Hello, yes, that's actually something I researched a bit, and you would need some dlls. Also.. to have a straight copier is easier than to have it to copy selectively.
But that would certainly take the pressure off from the search for some Holly grail indicator, EA. -
RE: EA with BBandsposted in Questions & Answers
@giovanni Free members can share projects too. The scroll down toolbar seen in the picture from trader.philips is found on the left side up.
There are some tutorials, just search on the forum, too get familiar with the blocks, also some videos on youtube.
For what you need there is hours block, conditions blocks with candle option for open, also candle ID, you can use your indicator, pips, timeframes, and many features. It is really a dream
I recommend spending some time on this documentation process, otherwise anything explained here is not understood.
The non paid version is similar in features, the only limitation is that only 10 connections can be used.
To change parameters for optimization, there is a tick box that has to be checked and it is at the right of almost any option in the conditions block. -
RE: Is there a way to configure the EA to wait for 3 consecutive losses and then enter orders?posted in Questions & Answers
@rafaels919 Maybe you could skip 3 trades after 1, 2 win, (depends)... as it is seen in the strategy tester - as 2 consecutive wins, 3 consecutive losses on average. So statistically, you could estimate, and have the EA skip 3 entry signals after 2 wins.
OR you want to make 2 configurations of EA's in one... for example trend and counter trend, and after 3 losses as counter, clearly it's a trend, so switch. This is what you mean?
In this case, search for "flags" and "toggle on off condition blocks".
-
RE: Is there a way to configure the EA to wait for 3 consecutive losses and then enter orders?posted in Questions & Answers
@rafaels919
You mean the EA to know in advance if the trade will end up loosing? And skip? You mean three consecutive trades... ? -
RE: Bollinger bandsposted in Questions & Answers
Lol
...
For upper BB:
Condition block Market properties - Ask, Buy, Mid (depends) - tickID 2 is above(>) BB upper.
Condition block Market properties - same choice - tick ID 1 is below (<) BB upper.
So on tick2 price was above, on tick1 was below. (0 is now)
For lower BB put tick2 below, and tick1 above.
This is technique for candle 0 and we don't know how this will end... full body cross, etc. -
RE: Bollinger bandsposted in Questions & Answers
@shovel52 Don't know why it doesn't trigger short, everything looks like on the buy side...
To edit a post, there are the 3 little dots on the right. -----------> -
RE: Body of candle is less that 50% of Rangeposted in Questions & Answers
@jzfusion Ok, sorry. I tried it out and it works as you said with *50%.

-
RE: Body of candle is less that 50% of Rangeposted in Questions & Answers
@jzfusion Do not put "%" it doesn't work that way, as far as I know. This thread https://fxdreema.com/forum/topic/6480/stop-losable-positions-at-1-of-equity came into my attention yesterday, and seeing your question, I thought that this calculation would be helpful to you. Did something similar... but
If it's not working, maybe someone else can answer...?