“RSI normalizado” System about RSI indicator, based on SPY.
Forums › ProRealTime English forum › ProOrder support › “RSI normalizado” System about RSI indicator, based on SPY.
- This topic has 13 replies, 5 voices, and was last updated 5 years ago by robertogozzi.
-
-
05/22/2019 at 9:43 AM #9908705/22/2019 at 10:52 AM #99143
What is this topic all about?
What’s your question?
05/22/2019 at 11:00 AM #99147Thanks for that nice picture, but could you please tell us more about your system please? 🙂
05/22/2019 at 9:16 PM #99212Sorry but I have edited the post badly. Now you can see it well in another new post
this is the code…
var….R=14, p=20, a= 0.9, b= -0.9, and c[5,10][1] this is optimizable
12345678910111213141516171819miRSI = RSI[r](close)bolDn = BollingerDown[p](miRSI)bolUp = BollingerUp[p](miRSI)// lineaUp = a// lineaDown = bRSIn = (((miRSI - bolDn) / (bolUp - bolDn))*2)-1filtro1 = average [30]>average[250]// Condiciones para entrada de posiciones largasIF NOT LongOnMarket AND RSIn crosses over b and filtro1 THENBUY 10000 cash AT MARKETENDIF// Condiciones de salida de posiciones largasIf LongOnMarket AND RSIn crosses under a THENSELL AT MARKETENDIFSET STOP %LOSS c05/22/2019 at 10:20 PM #99217Milochenta– Welcome to the forums. There are few basic rules that you need to follow when posting in the forums. One of these is that you are should use the ‘Insert PRT Code’ button when putting code in your post as this makes it far easier for others to read and understand. I have tidied up your last post for you but please use the ‘Insert PRT Code’ button in your future posts. 🙂
05/22/2019 at 11:01 PM #99218Sorry, but I still cannot read any question, isn’t there one?
05/23/2019 at 8:57 PM #99276I’m sorry, but I had made a mistake and I could not find the right way to send the code. I promise to learn for the next time. Thanks for your consideration.
regards05/23/2019 at 9:02 PM #99279I send you the code directly because I didn’t know how I had to envy….
1234567891011121314151617181920212223242526r=14, p=20, a=0.9, b=-0.9, c=[5,10][1]miRSI = RSI[r](close)bolDn = BollingerDown[p](miRSI)bolUp = BollingerUp[p](miRSI)// lineaUp = a// lineaDown = bRSIn = (((miRSI - bolDn) / (bolUp - bolDn))*2)-1filtro1 = average [30]>average[250]// Condiciones para entrada de posiciones largasIF NOT LongOnMarket AND RSIn crosses over b and filtro1 THENBUY 10000 cash AT MARKETENDIF// Condiciones de salida de posiciones largasIf LongOnMarket AND RSIn crosses under a THENSELL AT MARKETENDIFSET STOP %LOSS c05/23/2019 at 9:08 PM #99280What do you think about the strategy?
05/23/2019 at 10:02 PM #9928505/23/2019 at 10:14 PM #9928605/25/2019 at 10:46 AM #994111234567891011121314151617181920212223242526r=14, p=20, a=0.9, b=–0.9, c=[5,10][1]miRSI = RSI[r](close)bolDn = BollingerDown[p](miRSI)bolUp = BollingerUp[p](miRSI)// lineaUp = a// lineaDown = bRSIn = (((miRSI – bolDn) / (bolUp – bolDn))*2)-1filtro1 = average [30]>average[250]// Condiciones para entrada de posiciones largasIF NOT LongOnMarket AND RSIn crosses over b and filtro1 THENBUY 10000 cash AT MARKETENDIF// Condiciones de salida de posiciones largasIf LongOnMarket AND RSIn crosses under a THENSELL AT MARKETENDIFSET STOP %LOSS cAt the first line you can see the variables, a and b are 0.9 and -0.9, and you can change this with 0.1, between 1 and 0.5, and -1 and -0.5… the best result is 0.9
05/25/2019 at 11:29 AM #99412Using your value for c=[5,10][1] then your last line of code will never work
1SET STOP %LOSS [5,10][1]Also I get attached error message.
There is so much wrong I don’t know where to start.
I suggest you sort above and the screen message attached and repost if you need to?
05/25/2019 at 11:45 AM #99415I know you’re a newbie with PRT and may have a hard life trying to learn, but you should master copying & pasting, since you must have used it sometimes, no matter what platform or operating system!
After 13 posts we still can’t see your correct code!
Please Milochenta, enter ProOrder and make sure you are having a perfectly running strategy, do Copy & Paste from there, then post it again using the “insert PRT code” button.
You’ll spare us plenty of time to help you, if needed!
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on