You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Ok, I have created an indicator based on the indications of @Dominik Christian Egert , here is what it looks like:
Even if I wrote it in Pine, I share the code here, you can also check it as I'm still not completely sure about it (I commented it):
Thanks a lot!
Aymeric
Looks good.
You are missing the volume, right?
Don't forget, you need to normalize the volume, then recalculate the margin requirements. And the profit per tick based on that volume.
Looks good.
You are missing the volume, right?
Don't forget, you need to normalize the volume, then recalculate the margin requirements. And the profit per tick based on that volume.
In my code the "normalized volume" corresponds to:
Where 100 000 is the contract size and investment_in_lots_percentage is the ratio between my investment in the base currency and my margin (e.g: 29AUD / 1000).
Then the finale variable profit_loss_value is :
Which (I hope) should correspond to the profit or loss I am getting from the movement of one pip (0.0001)