promising Idea that i implemented manualy for scalping

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #53410 quote
    GLENGOLOLO
    Participant
    Junior

    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 quote
    Despair
    Blocked
    Master

    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 quote
    GLENGOLOLO
    Participant
    Junior

    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 quote
    GLENGOLOLO
    Participant
    Junior

    return distance that have higher value will signal overbought

    #53428 quote
    Despair
    Blocked
    Master

    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 quote
    GLENGOLOLO
    Participant
    Junior

    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 quote
    juanj
    Participant
    Master

    @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 quote
    GLENGOLOLO
    Participant
    Junior
    
    
    myhighlow = CALL "high-low"[1]
    myhighlowopenclose= CALL "highlow-openclose"[1]
    
    Distance = myhighlowopenclose-myhighlow
    
    RETURN Distance

    1

    myopenclose = CALL "open-close"[1]
    myhighlowopenclose = CALL highlowopenclose[1]
    
    Distance = myopenclose-myhighlowopenclose
    
    RETURN Distance

    2

     

    myhighlow = CALL "high-low"[1]
    myopenclose = CALL "open-close"[1]
    
    Distance = myhighlow-myopenclose 
    
    RETURN Distance
    

     

    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

     

    forex.png forex.png
    #53561 quote
    robertogozzi
    Moderator
    Master

    I’m afraid a linguist would do better than a programmer!  (unless being misunderstood is what your posts are meant to)

    Despair thanked this post
    #53852 quote
    Leo
    Participant
    Veteran
    I didn’t understand either. I think you want to see the Ratio between the Body and the range of a caddle?
    #54078 quote
    GLENGOLOLO
    Participant
    Junior

    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)
  • You must be logged in to reply to this topic.

promising Idea that i implemented manualy for scalping


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
GLENGOLOLO @glengololo Participant
Summary

This topic contains 10 replies,
has 5 voices, and was last updated by GLENGOLOLO
8 years, 3 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 11/21/2017
Status: Active
Attachments: 1 files
Logo Logo
Loading...