Double bottom or double top

Forums ProRealTime English forum ProOrder support Double bottom or double top

Viewing 15 posts - 16 through 30 (of 48 total)
  • #50073

    Thanks for your replies , to test the code I need to add buy and sell condition.

    the code is for returning the values

     

    how to add to this buy and sell condintons

    example

    buy 1 perpoint at support stop

    sellsshort 1 perpoint at resistance stop

     

     

     

     

    #50096
    Abz

    Leo how will put this indicator into a automated system , buy on arrow up and sell on arrow down?

    #50157
    Leo

    Yes, right Nicolas! another way can be with a slope of a triangle between two maximums/minimus

    If we learn to analyse the history of the locals minimums and locals maximum, then we can detects not only doble top/bottoms but channels, triangles, even head and shoulders!!!

    And getting an issue that some minimums and maximum in certain cases are duplicated therefore cause a false signals of doble bottoms/top… anyway there is a lot work to do.

     

     

    #50158
    Leo

    Leo how will put this indicator into a automated system , buy on arrow up and sell on arrow down?

    No, we have the study how the arrows behave and get a profitable robot! 🙂

     

    #50259
    Leo

    Hi all,

    Here my first approximation… I feel very optimistic about this approach although there is a lot work to do (that’s why there is not algorithm to detects double bottom/tops yet )

    Please see the picture attached, the triangle is draw by the algorithm here:

     

    2 users thanked author for this post.
    avatar Ste, avatar Abz
    #50274

    Good morning

    good work Leo
    how can I spot and use the arrows in automatic trading

    #50276

    Hi Leo

    your code is for screen return

    my coding knowledge is poor add a buy condition and sell condition by removing screen retrun

    can you advice me

    where to add and how to add

    x=5

    buy 1 perpoint at resistance+x stop

    sellshort 1 perpoint at support -x stop

     

    I will change the other conditions after back testing. x=5 and buy condition etc are example only

    after back testing I will post my results

    #50317
    Abz

    Leo i tested the first version and i saw that the arrows appears sometimes on the 2-3 previous candle. is this something that you have seen?

    #50343
    Leo

    Hi all,

    Madrosat, so far I am developing an algorithm for detecting double top or bottoms. For trading is more or less what Rama says: instead of drawing a triangle, it will be the executing order or a boleean or whatever.

    Rama, right now I do not know how is the executed a trade, the theory is (for long)

    – entry above the resistance

    – stop loss below the support

    – stop profit at a distance of Resistance – support i.e. a trade with profit/risk ratio of one

    … that’s the theory maybe we can entry on the market earlier and take more profit

    Abz, odd that error. What I notice is that some arrows are duplicated ( or repeated), try my last version, please and tell us if it is better.

    #50419
    Leo

    Hey,

    I made an algorithm for detecting double top and double bottoms and is working so awesome and I feel so proud of it that I put it in the library as an indicator. Have a look to it when @Nicolas validate it for posting… and please give it a like or comment it, I want to improve my ranking in this forum  🙂

    I think my algo is promising and I hope we work together for make the proper modification for automatic trading.

    1 user thanked author for this post.
    #50520

    Hello Leo, very good algorithm

    Tested today and very efficient for visual technical analyse at different frame; Also coupled with LMA is cool

    Thank you (sorry for my english)

    #50521

    Hey Leo, you made a great job with your approach on these particular patterns, a big thumb up for you 🙂

     

    #50535
    Leo

    Thanks, those message encourage me for continuing my endeavour.

    Here is my detector:

    https://www.prorealcode.com/prorealtime-indicators/double-top-double-bottom-detector/

    Now we have to found a clever way to employ that detector…

    #50606

    Abz as write : Leo i tested the first version and i saw that the arrows appears sometimes on the 2-3 previous candle. is this something that you have seen?

     

    I think arrows are repainting is true Léo??

    Madrosat

    #50635
    Leo

    Hi Madrosat,

    around line 20 of the code,  says:

    // the value 0.75 is to ensure that the donchian channel is faster than the curves analysis (this value to be checked)

    I thought this solve the issue, but no…. hope we find another way no repeating the arrows (I.e duplicating the information of a local maximum or minimum)

Viewing 15 posts - 16 through 30 (of 48 total)

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