@luisjunior1224 You could use any multiplicator for short term atr - even , if you like. It should just indicate that the short term average of atr is bigger than the long term atr. In @roar 's case he assumes that good volatility if 2 times short atr is bigger than long term atr.
Posts made by trader.philipps
-
RE: I want to use the atr as an input filter, to only place operations when there is good volatility, but I don't know how to do it and connect with the other conditionsposted in Questions & Answers
-
RE: Options to personalize EA on the Fxdreemaposted in Questions & Answers
@fabiobioware said in Options to personalize EA on the Fxdreema:
Telegram
Okay, I'll give it a try:
-
Limit orders per hours or day:
Use a counter variable and add +1 on each order open execution. Reset that variable eg. on the "on Timer" tab at a certain time of the day or hourly. -
There are several blocks for external communications

Use any of those blocks for your need. Of course you need to setup phone notfifications or emails in the terminal correctly. -
Not an easy one for beginners maybe, but here is an example how to send a screenshot to Telegram.
-
You can specify if any block is disabled or enabled (default) when EA starts by right click on that block.

And there are blocks available that allow for expicitly turn of / off or toggle block on/off state

Keep in mind that disabling a blog in a connection path will avoid that other blocks connected after the switched off one will be executed either!
- There is a block for set to BE

Use any you configuration that suites to your strategy. Unfortunately there is no one fits all solution!- There are lots of posibilities to do so. And there is als an exitsing block.

Check what exactly you need.
- Output to the chart is not so trivial as it seems. Use a Comment block for start I would suggest (See screenshot in Point 2).
Please specify closer what you mean for loss/gain amount! What what period for instance. Does this information need to be displayed per chart (EA instance) or for all insastances? Does it need to "survive" a restart of EA / terminal?
-
-
RE: Formula - calculating differenceposted in Questions & Answers
@rafaels919 I'd do like that - especially calculating in pips, so it should work on JPY pairs as well.
-
RE: Is it possible to create an ea that deactivates "auto trading" per day?posted in Questions & Answers
@l-andorrà Well, there is a long and a short answer.
Short answer: It's not possible with mql to activate/deactivate Auto-Trading programatically like if one would press the button in ther Terminal.
Long answer: If using an external api (dll) there may be a way. As an example icefx newinfo indicator has an option to disable auto-trading before some news occurs.
So in general there is a way, even if I have no clue how they do so.
As a workaround and if no 3rd party EA are involved, one might use a global variable (fxdreema slang: terminal variable) that might control if an fxdreema built EA is allowed to open new trades. Of course that logic have to be implemented on all EAs (and their instances in MT4).From general perspective I would not recommand disableing autotrading if there are open positions in place (such as icefx newsinfo would do). In case auto-trading is disabled, there is no control over the open position at all. The only "saftey" there'll be is if set SL and TP which are stored on broker side. Hence I'd prefer my EAs built in fxdreema to limit "trading hours" for the means of "allowed to open new positions hours". If there are any open positions in place and the "trading hours" limit is reached, my EA would still manage the trade in order to do things like trailing. Hope that makes sense.
-
RE: I think I have something big hereposted in Questions & Answers
@luisjunior1224 So what is the question now? Otherwise put your statement under general discussion rather than here in q&a forum.
-
RE: Formula - calculating differenceposted in Questions & Answers
@casebefx What is the reason for multiplication *1 ?
-
RE: Is there a way to configure the EA to wait for 3 consecutive losses and then enter orders?posted in Questions & Answers
@cpxiom Mabe for start beginb with a balance curve rather than an equity curve. That means you just update the realized profits or losses instead of equity change during an open trade. In that case the indicator can keep it's own calculations and you can just write + n pips or - m pips to the global variable. once the indicator picks that variable up, it could reset the variable to 0. That would work at least with one close trade at a time.
Later on you might have 2 buffers (or arrays) in the indicator. One for balance and one for equity (and maybe a 3rd one for open trades). In that case you can reset the equity to balance value once open trades equals 0.
What do you think? -
RE: Is there a way to configure the EA to wait for 3 consecutive losses and then enter orders?posted in Questions & Answers
@cpxiom Is the shared project link right? I don't see where you actually reset openprice or closeprice? Wher do you call your indicator? or do I need to put it to the chart by myself? I looked as this link https://fxdreema.com/shared/MTRaFRHgd
-
RE: How to set sell after 30points of open selling candleposted in Questions & Answers
@fxamoneymaker Move block 13 a bit anbd you'll notice it's connected to the yellow dot and not the white one.
-
RE: How to code a condition where the value of the ATR has to be added to priceposted in Questions & Answers
@l-andorrà By feeling this ATR question comes at least 3 times a week. Maybe you could just make a tutorial?
-
RE: how to choose the first starting position ?posted in Questions & Answers
@l-andorrà Looks a bit compilcated. I'd use diable / enable blocks instead. After each buy disable buy path and enable sell bath and vice versa, right?
-
RE: how to choose the first starting position ?posted in Questions & Answers
@l-andorrà said in how to choose the first starting position ?:
Believe me trade-philips, I do this on pourpose.
All of us need some push when begining to use fxDreema. Once you copy your fisrt shared link correctly, you never forget it again :D.Good point! Keep on doing that way.

-
RE: Is it possible to create an ea that deactivates "auto trading" per day?posted in Questions & Answers
@lnx28 Are you sure you want to disable auto-trading completely? That means no EA can manage any open positions anymore! What one usually wants to achieve that there are no new trades are opened during that time.
-
RE: I don't understand when it's worth a tick. 100 tick equals how many pips? 1,000 tick equals how many pips?posted in Questions & Answers
@siempre A tick is a price update by your broker. It has nothing to do with pips. The grequency of those updates varies.
-
RE: Is there a way to configure the EA to wait for 3 consecutive losses and then enter orders?posted in Questions & Answers
@cpxiom Wow, you're quick!
Block to use in order to set global variables should be this one ...
.The rest of the project I didn'z understand from first read, but I have a guess ;-))
-
RE: How to set sell after 30points of open selling candleposted in Questions & Answers
@fxamoneymaker Âre yiu still using this block?

Are you sure that this condition anytime will get true? I mean 4000 - 6000 pips sound a bit much as it is 40000 to 60000 points!?!
-
RE: how to choose the first starting position ?posted in Questions & Answers
@l-andorrà I really honor your contributions. Just sometimes you're missing some creativiy
Use this link!!Or in other words just put a "https://fxdreema.com/" in front
-
RE: Terminal variablesposted in Questions & Answers
@trader-philipps Also keep in mind that most actions in fxdreema are probably performed on a on tick base. If you have a symbol on one chart that gets tick very seldomly or if it's market is closed, it would not recoknize any changes until that chart gets another tick!