Well, I found out that the variable name was wrong. Adjusted. But the SL was too far away but it seems that the result is 10x more. I will try to multiply by 0.01 in EURUSD, because the FxPro is 5 digits.
Posts made by tcanuto
-
RE: ATR for Stop Lossposted in Questions & Answers
-
RE: ATR for Stop Lossposted in Questions & Answers
Thanks @paragorundu and @l-andorrà for the info.
There was a problem with the result. The ATR value is 711, so it should be 711 * 2 = 1422 pips away, but the SL value came out with 4000. See the image below:
Project: https://fxdreema.com/shared/HWHm5SOCd

Project: https://fxdreema.com/shared/HWHm5SOCd

-
RE: ATR for Stop Lossposted in Questions & Answers
@paragorundu What I need is simply the value of the ATR for distance from the opening price of a position. Will this formula do that?
@l-andorrà did you understand?
-
RE: ATR for Stop Lossposted in Questions & Answers
@l-andorrà Please disregard my previous answer. It's OK.
There is something wrong with this ATR. SL is a far cry from what was expected.
https://fxdreema.com/shared/yNSm01EKc
PG 0 19:19:51.568 Tester EURUSD,M1 (FxPro-MT5): every tick generating
GP 0 19:19:51.568 Tester EURUSD,M1: testing of Experts\Advisors\Turtle Trading Original.ex5 from 2021.01.01 00:00 to 2021.03.08 00:00 started with inputs:
JE 0 19:19:51.568 Tester Entrada1=20
EH 0 19:19:51.568 Tester Saida1=10
CS 0 19:19:51.568 Tester Stop_ATR=10
GN 0 19:19:51.568 Tester Derrapagem=3
FG 0 19:19:51.568 Tester MagicStart=1465
JS 0 19:19:57.685 Turtle Trading Original (EURUSD,M1) 2021.01.04 00:00:01 Alert: You want to trade 1.634895203217474e-05 lot, but your broker's minimum is 0.01 lot. The trade/order will continue with 0.01 lot instead of 1.634895203217474e-05 lot. The same rule will be applied for next trades/orders with desired lot size lower than the minimum. You will not see this message again until you restart the program.
OQ 0 19:19:57.685 Trade 2021.01.04 00:00:01 market buy 0.01 EURUSD sl: 0.00068 (1.22378 / 1.22400 / 1.22378)
LO 0 19:19:57.685 Trades 2021.01.04 00:00:01 deal #2 buy 0.01 EURUSD at 1.22400 done (based on order #2)
NQ 0 19:19:57.685 Trade 2021.01.04 00:00:01 deal performed [#2 buy 0.01 EURUSD at 1.22400]
OD 0 19:19:57.685 Trade 2021.01.04 00:00:01 order performed buy 0.01 at 1.22400 [#2 buy 0.01 EURUSD at 1.22400] -
RE: ATR for Stop Lossposted in Questions & Answers
@l-andorrà In this way, the ATR period parameter is missing.
-
RE: My account bastard was blocked fxdreema fuckposted in Bug Reports
@tantan For years I have had an account here at fxDreema and it never happened to me. There were delays in responses, but I always received a correction with more days added to my account.
-
RE: Reopen closed orderposted in Questions & Answers
@l-andorrà The support answered me and in fact the previous way in which we were doing is having a problem. Here is another way that was suggested to me:
https://fxdreema.com/shared/CrOJSMv1e
Now it works. Thank you @l-andorrà and team @fxDreema
-
RE: Reopen closed orderposted in Questions & Answers
@biztet Right! That's right! Yes ... I am using fixed SL.
-
RE: Reopen closed orderposted in Questions & Answers
@l-andorrà Ah, that's good. I will be waiting then for the solution of this problem. Thanks.
-
RE: Reopen closed orderposted in Questions & Answers
@l-andorrà Hello. I sent an email to support and so far no response.
-
RE: Reopen closed orderposted in Questions & Answers
@l-andorrà I suppose I may not have understood. I need it to reopen at the price of 5568,000, as shown in the image above.
-
RE: Reopen closed orderposted in Questions & Answers
@l-andorrà Yes of course.
I need it to reopen at the previous price, on the blue line, not on the red price.

-
RE: Reopen closed orderposted in Questions & Answers
@l-andorrà Strange... Now it's working... but not yet as I need it. It's not reopening the previous order. It's opening at another price.
-
RE: Reopen closed orderposted in Questions & Answers
@l-andorrà Thanks again for the help.
Unfortunately it is still not working.
See if something is wrong: https://fxdreema.com/shared/4o8eAERvb
-
RE: Reopen closed orderposted in Questions & Answers
@l-andorrà Hello. Thanks for the info.
I believe that we are getting close to solving this doubt.
My operations are opened through the Highest Price (Candles Period) and the Lowest Price (Candles Period), within Market Properties.
How do I store this information from the previous trade in a variable?
-
RE: Reopen closed orderposted in Questions & Answers
@l-andorrà All right? I tried, but it's not working.
