Useful information shared by @roar and @jstap
-
Dear roar and jstap,
Some weeks ago you shared very useful information thorough this that is now lost due to the hacking so I would kindly request you to share it again here please.I requested some custom code to show on screen the exact time when an event happens. Something like 2023.01.01 12:02:47 and jstap provided it. Could you please do it again?
On the other hand I also asked for help on how to skip all pip size rules and make a bot to calculate pips regardless the broker's decimal positions and jstap did it. Could you please do it again?
I'm sure this can be useful for all users. Thank you in advance.
-
@l-andorrà I think this is the time you are referencing: https://fxdreema.com/shared/1k3FHsjcb
I think the pip rules you are referring to are in here: https://fxdreema.com/forum/topic/12802/atr-pips
Let me know if not.
-
To calculate points (the smallest digit unit), do this:
123*MathPow(10, -Digits())
When 1 pip = 10 points, do this:
123*MathPow(10, -Digits())*10
-
Thanks to both of you. That was exactly what I was talking about.

-
@jstap I'm trying to store the time info into a variable but I can't get it correctly. I tried double and string types, but to no avail. Any hint?
-
@l-andorrà Is a string type: https://fxdreema.com/shared/vLYwSXB2
-
@jstap I remember that in some lost post you showed how I can find how many candles are participating in an overbought or oversold moment of the RSI indicator.
Can you please repost the project here?

-
@ontradingx You can use this for many situations: https://fxdreema.com/shared/xLmPsx8N
-
@jstap thank very much!!
-
@jstap Ah! I selected the numeric option on the comment block instead of text. This is why it didn't work. Thank you very much.
-
@l-andorrà Anytime