Algo from indicator

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #214236 quote
    CrillezzCrillezz
    Participant
    Veteran

    Hello eweryone! Hello Khaled!!
    Is it possible to build a algo from Khaled´s suppy & Demand  indicator when the price returns to a supply/demand zone?

    I’ve asked on that thread but haven’t gotten an answer

    Here is the link to Khaled´s indicatorSupply & Demand – Order Blocks – Indicators – ProRealTime (prorealcode.com)

    #214249 quote
    GraHalGraHal
    Participant
    Master

    As an example … change Line 133 for below, then do same for Bullish bozes.

    However, it works better if you use ‘Buy’ on the Bearish boxes below.

    SellShort at Market
    //drawrectangle($left[j],$top[j],barindex,$bottom[j]) coloured("red",Transparency)bordercolor("red",Transparency)

    I’m sure there’s more to do to get it profitable, but above should help to get you started?

    #214262 quote
    CrillezzCrillezz
    Participant
    Veteran

    Thanks for reply Grahal. But then it takes position when a zone is formed. What I meant is that I want it to take a position when the price retests the zone. I know the indicator is not intended for that. But I think it looks interesting and I want to develop it further later.
    Here is an example

    iiiuyy.png iiiuyy.png
    #214264 quote
    GraHalGraHal
    Participant
    Master

    take a position when the price retests the zone

    Maybe JS or Roberto might help you?

    To make it easier for anybody coding it for you, are you able to define … retests the zone?   I’ll have a think also with respect to the Indicator, linked in your OP.

    Above saves a coders time having to define retests the zone, it also gets you what you want?

    #214265 quote
    CrillezzCrillezz
    Participant
    Veteran

    What I mean by retest is that when the indicator makes a zone and the price leaves that zone and comes back to it (maybe tomorrow), the algo should take a position. The picture I sent shows an example. The problem for me is being able to use the zones in the future. So if a buy zone is formed today, I want algo to take a position tomorrow or next day if the price comes back to the zone.
    Hope someone understands what I mean 😉

    #214266 quote
    GraHalGraHal
    Participant
    Master

    I understand exactly what you mean in plain english, but to code it needs limits / quantified values.

    So if price just pops into the light green zone (not the dark green zone) on a 1 min Timeframe (after being in the dark green zone previously) then is that a retest of the zone in your mind?

    You likely be happy (as I would 😉 )  if somebody would code you a ‘restest of the zone’ as they see fit.  We can develop it further after that (maybe? 🙂 ).

    #214267 quote
    GraHalGraHal
    Participant
    Master

    For what it’s worth,  I’ve got my version making a profit.

    Screenshot-2023-05-07-131235.png Screenshot-2023-05-07-131235.png
    #214269 quote
    CrillezzCrillezz
    Participant
    Veteran

    What kind of exit do you have on it?
    Try to add if the price is above or below bollinger band 100 also.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Algo from indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Crillezz @crillezz Participant
Summary

This topic contains 7 replies,
has 2 voices, and was last updated by CrillezzCrillezz
3 years, 4 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 05/06/2023
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...