count value of bricks

Forums ProRealTime English forum ProOrder support count value of bricks

Viewing 12 posts - 1 through 12 (of 12 total)
  • #70697

    hello pro’s!

    if i have a long or short position i want to code:

     

    if longonmarket then

    “the last brick has to be greater then the last brick before” and

    “the next brick hast to be greater then the last 2 bricks before”

    “… 3 bricks before”

    and so on….

     

    is there any option to do that?

     

    thx guys!

     

     

    #70715

    Are you talking about “renko brick”? or ordinary candlesticks?

    #70721

    sorry i mean just normal candlesticks… brick = candle

    sorry

    #70735

    ok, so in this case, “greater” in your own words, means ‘higher price’ or ‘larger candlestick range’?

    #70739

    sorry for my bad explanation…

    it means “higher price” – this is what I want to do:

    1. if longonmarket the next candle must be higher (in price) than the “open order” AND
      the next candle must be higher (in price) than the last candle AND
      the next candle must be higher (in price) than the last 2 candles (always take the last candles (1+1+1+1+…) since the open order)
    2. the last (f.e. 10 candles) must be 1/4 higher (in price: open order + 1/4) than the last candles since open order – otherwise sell at market

    hope u can understand my thoughts now.
    thx nicolas for helping me!

    #70773

    Sorry, still don’t understand what you mean.

    1/ So each time a new candlestick close we must ensure that its price is higher than the last X candles Close since the open of the order (and X is incrementing continuously)?

    2/ What “open order + 1/4” state for?

    Do these 2 points must be tested at the same time to sell the buy order?

    1 user thanked author for this post.
    #70779

    ad 1) exactly!

    ad 2) thats just a part of future – not as important as step 1! i would be greatful if u could help with step 1!

    thank you so much nicolas for helping me here!

    #71016

    could this be done anyhow?

     

     

    #71372

    i am thinking about something like

     

    #71389

    Sorry for not answering since my last post..please remind me to have a look to your question next week.

    1 user thanked author for this post.
    #71479

    Could you test this snippet about your first query?

     

    1 user thanked author for this post.
    #71495

    thats exactly what i was looking for! that’s my basic for some codes now! Thank you so much for your help and ur help for everyone here!

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

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