Hello!
Can anyone help me with an indicator of a rotation candle.
I want a green upp arrow at the bottom of a candlestick when
Price opens above the previus midpoint
price is above the previus midpoint and
Price is above the current midpoint.
And a red arrow down at the top of a candlestick when
Price opens belov the previus midpoint
price is promov the previus midpoint and
price is belov the current midpoint.
The red dot outside is not needed. It has no function.
I do not have a working strategy for this indicator yet.
If it goes, it would be useful if it says how many pips it was between the arrows. But only when they go from red to green and vice versa. When it flips.
Hear is a link from which I got it. But probably will not use it like that.
med = medianprice
up = open>med[1] and close>med[1] and close>med
dn = open<med[1] and close<med[1] and close<med
atr = averagetruerange[10]
if up then
drawarrowup(barindex,low-atr) coloured(0,255,0)
endif
if dn then
drawarrowdown(barindex,high+atr) coloured(255,0,0)
endif
return
The information collected on this form is stored in a computer file by ProRealCode to create and access your ProRealCode profile. This data is kept in a secure database for the duration of the member's membership. They will be kept as long as you use our services and will be automatically deleted after 3 years of inactivity. Your personal data is used to create your private profile on ProRealCode. This data is maintained by SAS ProRealCode, 407 rue Freycinet, 59151 Arleux, France. If you subscribe to our newsletters, your email address is provided to our service provider "MailChimp" located in the United States, with whom we have signed a confidentiality agreement. This company is also compliant with the EU/Swiss Privacy Shield, and the GDPR.
For any request for correction or deletion concerning your data, you can directly contact the ProRealCode team by email at privacy@prorealcode.com
If you would like to lodge a complaint regarding the use of your personal data, you can contact your data protection supervisory authority.
Get Assistance
Assistance Type
Your Need
Proposed Solutions
Do you like cookies? 🍪 We use cookies to ensure you get the best experience on our website.
(Learn more)