I made a custom indicator that has ATR and its moving average. Hope this helps others.
0_1496012268230_ma_atr.mq4
Posts made by ptejerina
-
how to apply an indicator to another indicator?posted in Questions & Answers
-
RE: Calculating Simple Moving Average of a Indicatorposted in Questions & Answers
Hi,
I programmed a custom indicator that shows the moving average of ATR. This may help you or others to achieve something similar.0_1496012111333_ma_atr.mq4
-
RE: Constant or variable in More Settings/Adjustposted in Questions & Answers
Thank you, but it didn't work. I decided to change it manually on the mq4 script.
-
RE: Constant or variable in More Settings/Adjustposted in Questions & Answers
Hi,
Instead of using "1" inside the yellow rectangle of the image, I would like to use a constant or variable. I tried "-variablepips" but it didn't work.
Thanks.
-
RE: Trade managementposted in Questions & Answers
Hi fxdreema,
In the expert I'm sharing in the link, I am trying to build a trade manager that does this:
https://fxdreema.com/shared/iMKPckZxd
1 If a trade is open, check if price has moved 70 pips in profit
2 if true, move stoploss to 10 pips in profitHowever, when I run it, and a trade opens, the stop never changes.
Please help me check what's wrong.
Thank you
-
RE: Modify stoploss, not takeprofitposted in Questions & Answers
It is working fine like that. Thank you.
-
RE: Modify stoploss, not takeprofitposted in Questions & Answers
Hi,
I want on a trade to modify the stoploss, but leave the takeprofit alone. Right now, I have the block like the one shown in the picture, but this setup deletes my takeprofit. How should I do it?
-
RE: Trailing stops EAposted in Questions & Answers
In the code, how would I find what is shown in the block to add what you suggest? If you could please tell me a part of what the code would say, I would be able to find it and modify the formula. Thank you.
-
RE: Trailing stops EAposted in Questions & Answers
I tried every option in "Price relative to" and the result was always the same with all of them: the stoploss of sell orders was set to 1 pip distance but without adding the spread.
In the 6th block "modify stops of sell", of the copy I'm sharing below, I have "Price relative to" set to "bid for buy, ask for sell" but, as I explained before, it only adds 1 pip but not the spread. What else can I try?
-
RE: Trailing stops EAposted in Questions & Answers
Hi fxdreema,
In the picture you can see how I'm setting my stoploss for short trades. What I want to accomplish is to set the stoploss on the high of the previous candle + 1 pip + spread. I'm getting the (high of candle + 1pip) part ok, but I haven't been able to add the spread automatically. How can I get it done? Thanks.
-
RE: Trailing stops EAposted in Questions & Answers
Yes! Thank you, that was it. I made my first EA

What an excellent tool is fxdreema, congratulations.
-
RE: Trailing stops EAposted in Questions & Answers
Hi,
I'm using fxdreema for the first time and this is my first project: https://fxdreema.com/shared/tpp5KmfRc
However, it doesn't work! What I want to do is an EA that automatically sets a stoploss in the low of the previous bar in a buy order or in the high of the previous bar if in a sell order. This must be done only if the previous bar closed in the same direction of the order, that is only move the stoploss if previous bar was bullish for buys o bearish for sells.
Can someone please help me understand why my EA does nothing?

Thank you.