@hjmr yes! When detecting the 50 cross, block 1 first resets the cid variable ("candle id") to 0. Then the loop keeps increasing the number, looking for rsi 70 or reaching the limit (lookback)
Posts made by roar
-
RE: Lookback or hold indicator value for confirmationposted in Questions & Answers
-
RE: Lookback or hold indicator value for confirmationposted in Questions & Answers
@hjmr here: https://fxdreema.com/shared/AHuqK5DSb
The draw line is only for visualization
-
RE: How to place buy on every candle?posted in Questions & Answers
@tedhor07 Why bull candles for both directions, no bear?

-
RE: Heiken Ashi smoothed indicator into EAposted in Questions & Answers
@bsinclair ok, do as you wish. Personally I have no interest to build the whole thing - I have seen enough systems to know that this is not hugely profitable, sorry to say.
-
RE: Heiken Ashi smoothed indicator into EAposted in Questions & Answers
@bsinclair if its making trades, what is the problem? What block is the issue?
Btw, I think you need some limiting block, to not make multiple trades per 1 signal. Like "no trade" block or "once per bar"
-
RE: Open New Trade When Previous is Winning Tradeposted in Questions & Answers
@biztet that way you get infite sell trades for 1 buy. Check the On Trade tab, there's better options

-
RE: Open New Trade When Previous is Winning Tradeposted in Questions & Answers
@biztet I dont think there is such difference between manual and automatic, its not like manual traders are necessarily any better at spotting turning points. The difference is just that automated systems document the fails better, manual traders can just forget/hide/not talk about them.
-
RE: Open New Trade When Previous is Winning Tradeposted in Questions & Answers
Personally I use symmetrical entries and exits. Opening buys also closes the sell trades.
Its most logical for me: when its good time to buy, surely its also good time to get rid of sells.
-
RE: Open New Trade When Previous is Winning Tradeposted in Questions & Answers
Are you sure its not these blocks opening the buys?

-
RE: Open New Trade When Previous is Winning Tradeposted in Questions & Answers
This checks if previous buy is in profit. Copy the blocks for the sell case
https://fxdreema.com/shared/lrjGD6Xzb

-
RE: Open New Trade When Previous is Winning Tradeposted in Questions & Answers
@biztet the way I see it, all betting systems re-organize random distribution of win, loss, win, win etc. into some systematic distribution, like
small win, small win, small win, big loss
or
small loss, small loss, small loss, big winIts still random profitability, betting system just makes the randomness harder to see. The market isnt so dumb that it awards you millions of profit just because you know a number trick. No way. Hard-to-see randomness is great if you want to promote your strategy online, or sell your EA in mql5.com, but its bad if you actually put your own money into the gambling machine.
This is why you should just focus on your core strategy (when to sell and when to buy), use constant lot and never even check win/loss combos.
Well, thats my opinion, I'm sure there are other views too
-
RE: Open New Trade When Previous is Winning Tradeposted in Questions & Answers
@biztet I don't know about your case, its great if its not gambling, just be careful.
Adding volume to 2-5 x your base trade volume (0.01) isn't a problem in most cases, but the more your lot sizes vary, the closer your trading becomes to a roulette table lol
-
RE: Open New Trade When Previous is Winning Tradeposted in Questions & Answers
@jim5129 said in Open New Trade When Previous is Winning Trade:
open a another trade with double the volume, I use this same thing in one of my best EA's, it's one of the secrets the pro's won't share, hope this helps...
This is not a "secret", finance theory even has a name for it: tail risk.
It looks good but I'm 100% sure your EA using Add Volume will get absolutely crushed in a backtest.
Be extremely careful if you want to use betting methods.
-
RE: can i convert back from mq4 file to fxdreema?posted in Questions & Answers
Check the menu from upper left: projects -> import
-
RE: Problem - Modify Stop to break even based on ATRposted in Questions & Answers
That pips away block always gives problems lol

Here's how to do it without the troublemaker:
https://fxdreema.com/shared/lmSgKgfhbThis also looks a bit like trailing stop, that block could be 3rd option..
-
RE: I have a project, I really need your helpposted in Questions & Answers
@l-andorrĂ note that the osma condition will not be at the same time as the others. Also, osma is very rarely exactly 0, it usually crosses from plus to minus without being 0 first.
Here's the other thread: https://fxdreema.com/forum/topic/9206/help-me-please/6
-
RE: Help me pleaseposted in Questions & Answers
@nguyen-duong my example starts from the osma condition, and then it searches backwards in time for the rsi and adx. Candle ID is the time parameter.
Here is another way of doing it, without a loop:
https://fxdreema.com/shared/grIn3uu9dThis checks first the rsi and adx, and "remembers" if those conditions have passed, and then looks for the osma condition.
There's tons of posts about variables, and there's a tutorial section as well, you should look into those
-
RE: Buy start while condition not meetposted in Bug Reports
@slashes You are comparing a pips value to a price value.

