promising Idea that i implemented manualy for scalping
Forums › ProRealTime English forum › ProBuilder support › promising Idea that i implemented manualy for scalping
- This topic has 10 replies, 5 voices, and was last updated 7 years ago by GLENGOLOLO.
-
-
11/21/2017 at 10:56 AM #53410
Hi guys
Im not good at coding , i thought i would share this idea with you guys for scalping, please share it with me if you where able to program it
High-low=0 open-close=0 t then substract high-low with open-close ((high-low) -(open-close))=0
Exmple
High-low=5
open-close=-9
((high-low) -(open-close))=-4
then make the code add (high-low) -(open-close))=-4 with High-low=5 only if the both have nagetive or positive value and if both value differ other is negative and other psitive they should not add and do the same with (high-low) -(open-close))=-4+open-close=-9
the code should return two integer for both
(high-low) -(open-close))=-4+High-low=5 =5
(high-low) -(open-close))=-4+open-close=-9=13
your assistance is highly appreciated
11/21/2017 at 11:25 AM #5342111/21/2017 at 11:50 AM #53425Hi Dispair
this is how i coded my high and low
Recenthigh = Highest[Period](high)
Recentlow = Lowest[Period](low)Distance = ((Recenthigh-(Recentlow))-0) *1
RETURN Distance
will you be able top code return distance for the following below in one code if so. then make the code return distance (high-low) -(open-close))=-4 – High-low=5 only if the both have nagetive or positive value and if both value differ other is negative and other positive they should not add and do the same with (high-low) -(open-close))=-4+open-close=-9 and the code should return two distance for both (high-low) -(open-close))=-4 – High-low=5 and (high-low) -(open-close))=-4+open-close=-9 i hope this help
High-low=5
open-close=-9
((high-low) -(open-close))=-4
(high-low) -(open-close))=-4+High-low=5 =5
(high-low) -(open-close))=-4+open-close=-9=13
11/21/2017 at 11:55 AM #53426return distance that have higher value will signal overbought
11/21/2017 at 12:34 PM #53428Sorry again but I obviously have problems understanding your english. Also your code is really strange. For example when calculating the distance you subtract zero and multiply by 1. This doesn’t do anything.
Maybe somebody else can help. I do not understand enough to do so.
11/21/2017 at 2:03 PM #53451hi despair
how about you calculate the distance of highlow-openclose , high-low and open-close your way then display them separatly on a chart. then go to cursor details. manually calculate the value of highlowopenclose – highlow and highlowopenclose-openclose that appear on cursor details using calculator if value of highlow is nagetive and of highloopenclose is positive it should not add , add only if they both negative or positive
i hope this bring light
11/22/2017 at 8:05 AM #53538@GLENGOLOLO It seems you are having difficulty expressing yourself in English and pseudo code.
Please explain in words (in your own language) what you would like to do without making use of pseudo code. (i.e. what is the concept here?)
I will then attempt to translate.
11/22/2017 at 10:11 AM #53555this is how i calculated my highlowopenclose-highlow123456myhighlow = CALL "high-low"[1]myhighlowopenclose= CALL "highlow-openclose"[1]Distance = myhighlowopenclose-myhighlowRETURN Distance1
this is how i calculated my highlowopenclose-openclose123456myopenclose = CALL "open-close"[1]myhighlowopenclose = CALL highlowopenclose[1]Distance = myopenclose-myhighlowopencloseRETURN Distance2
this is how i calculated my openclose-highlow123456myhighlow = CALL "high-low"[1]myopenclose = CALL "open-close"[1]Distance = myhighlow-myopencloseRETURN Distancelook at the picture i posted , i want to add (high-low)-(highlowopenclose) (1)with openclose-highlow(1) only if they are both positive or negative and if they like openclose-highlow(1) and (highlowopenclose)(1) they should not add
11/22/2017 at 11:00 AM #53561I’m afraid a linguist would do better than a programmer! (unless being misunderstood is what your posts are meant to)
1 user thanked author for this post.
11/24/2017 at 2:15 PM #5385211/27/2017 at 9:35 AM #54078Hi guys
I’m familiarizing my self with prorealtime programming language , i will share the code with you all once i fully developed it
Thank f you all for your inputs
-
AuthorPosts
Find exclusive trading pro-tools on