ROUND THE CROSSPOINT
Forums › ProRealTime English forum › ProBuilder support › ROUND THE CROSSPOINT
- This topic has 4 replies, 2 voices, and was last updated 2 years ago by Callmebuddy.
-
-
04/06/2022 at 4:24 PM #191343
Hi there!
Just in case any programmer may help me. In the indicator shared below, I am trying to round the point where the F line crosses up the level 810 and down the level 410. I understand that I need two points as a reference, namely x and y. For Y the value is clearly 810 but in the case of X, I do not really know what value to use. Do you guys know if there is a change to use TIME as value for X? If not possible, any idea how to do it? Thanks in advance to the community.
Ind1=ROC[24](close)
Ind2=ROC[40](close)
Ind3=averagetruerange[61](close)
Ind4=average[61](close)
Ind5=Ind3/Ind4rem F contiene la Inercia Alcista
F=((Ind1*0.4+Ind2*0.2)/(Ind5*0.4))rem Mostramos el indicador para la toma de decisiones
PasoUp=810
PasoDown=420
Cero=0
IAentrada=F crosses over PasoUp
IAsalida= F crosses under PasoDownif IAentrada then
drawpoint(F[1],810,5)coloured(0,255,0,50) bordercolor(0,255,25)
elsif IAsalida then
drawpoint(F[1],420,5)coloured(0,255,0,50) bordercolor(255,0,0)
endifreturn cero as “cero”, PasoUp as “PasoUp”, PasoDown as “PasoDown”, F as “Fuerza Alcista”
04/06/2022 at 4:59 PM #191346Only post in the language of the forum that you are posting in. For example English only in the English speaking forums and French only in the French speaking forums.
I moved this topic from the Spanish support.
Thank you 🙂
Change the DRAWPOINT lines to:
12drawpoint(BarIndex,810,5)coloured(0,255,0,50) bordercolor(0,255,25)drawpoint(BarIndex,420,5)coloured(0,255,0,50) bordercolor(255,0,0)04/06/2022 at 8:40 PM #191350Hi Robert!
Thanks for changing my post to the english forum. In regards with your answer first of all thank you. The point is that I dont have the intention to open the indicator in the price graph but alone so I cant use the “barIndex” as an X value. That is the reason I suggested if it was possible to use some sort of “time” instruction for the X value
04/06/2022 at 10:29 PM #191356No, it can only be a bar ID.
04/07/2022 at 5:46 AM #191357Ups. what an inconvenient! anyway, thank you for the support
Have a blast!
-
AuthorPosts
Find exclusive trading pro-tools on