promising Idea that i implemented manualy for scalping

Forums ProRealTime English forum ProBuilder support promising Idea that i implemented manualy for scalping

Viewing 11 posts - 1 through 11 (of 11 total)
  • #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

     

     

    #53421

    I have a hard time to follow you and there are no entry or exit rules for a strategy. So I think if you want to have this programmed you must elaborate little here. 🙂

    #53425

    Hi 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

     

     

     

    #53426

    return distance that have higher value will signal overbought

    #53428

    Sorry 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.

    #53451

    hi 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

     

     

    #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.

    #53555

    1

    2

     

     

    look 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

     

    #53561

    I’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.
    #53852
    Leo

    I didn’t understand either.

    I think you want to see the Ratio between the Body and the range of a caddle?

    #54078

    Hi 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

Viewing 11 posts - 1 through 11 (of 11 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login