Inside Candle Indicator

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #215068 quote
    SteveAMRSteveAMR
    Participant
    New

    Good Afternoon All,

    I would like to ask if anyone has created or is using an indicator that simply shows an inside candle within the price chart by changing the closed candle a different colour ( colour changerable within settings ) please ?

    R’s Steve

    #215077 quote
    NicolasNicolas
    Keymaster
    Legend

    With the below code, inside candlestick are painted in yellow.

    if high<high[1]and low>low[1]then 
    drawcandle(open,high,low,close) coloured("yellow")
    endif 
    
    return
    #215078 quote
    SteveAMRSteveAMR
    Participant
    New

    That’s great thank you so much, but I can’t seem to add it to price ??

    It keeps putting it below in a seperate panel ?

    Would you know how I would put the two panels in one ?

    R’s Steve

    #215082 quote
    JSJS
    Participant
    Master

    Go to the top left corner of your chart => Click on the “Price” => “Add indicator”…

    #215089 quote
    SteveAMRSteveAMR
    Participant
    New
    Thank you, but this does not work, I tried that before posting my previous question. Any other ideas ? R’s Steve
    #215090 quote
    JSJS
    Participant
    Master

    Hi,

    I assume you first made the code an indicator (with a certain name) and then added this indicator to the price…?

    Scherm­afbeelding-2023-05-23-om-17.27.51.png Scherm­afbeelding-2023-05-23-om-17.27.51.png
    #215092 quote
    SteveAMRSteveAMR
    Participant
    New
    Yes I added a new indicator, which saved as ” My Indicator “, then tried to add it as I would any other indicator. R’s Steve
    #215093 quote
    JSJS
    Participant
    Master

    Hi,

    Strange, it’s a basic procedure so there must be something else going on…

    Can you tell us a bit more about the graph, time frame, units, name… etc.

    Are you using a special version of PRT?

    Under the “Help” function there are also examples (and video) how to deal with an indicator…

    #215094 quote
    SteveAMRSteveAMR
    Participant
    New
    Nothing special, I am using a demo V11.1. I am on eurusd, 15 Min. I can add other indicators , like EMA’s etc ? R’s Steve Ps. Thanks for your time on this.
    #215096 quote
    JSJS
    Participant
    Master

    Hi,

    Try again by downloading and importing the itf file…

    Otherwise, you will have to send a technical report…

    Inside-candle-yellow.itf
    #215098 quote
    SteveAMRSteveAMR
    Participant
    New
    It didnt give me the option to download, only copy from post ? R’s Steve
    #215099 quote
    SteveAMRSteveAMR
    Participant
    New
    Sorry just seen the link R’s Steve
Viewing 12 posts - 1 through 12 (of 12 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

Inside Candle Indicator


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
SteveAMR @steveamr Participant
Summary

This topic contains 11 replies,
has 3 voices, and was last updated by SteveAMRSteveAMR
3 years, 3 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 05/23/2023
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...