Indicator not showing on main screen

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38994 quote
    EasyRead
    Participant
    New

    It is probably something very simple, but can anybody tell me why an indicator isn’t showing up on the main screen?

    I’m trying to add code to the price window that has all of the candlesticks showing. When I add the code it displays as a new indicator window underneath.

    I used the following code from another thread (https://www.prorealcode.com/topic/how-can-i-plot-different-moving-averages-on-monthlydailyweekly/ ) which is marked as working and displaying in the main window

    Thank you in advance for any replies.

    If (date-date[1])=1 OR (date[1]-date[2])=1 Then
    a=1 // 1 signals Daily timeframe
    Endif
    If (date-date[1])=7 OR (date[1]-date[2])=7 Then
    a=7 // 7 signals Weekly timeframe
    Endif
    If (date-date[1])=99 OR (date[1]-date[2])=99 Then
    a=30 // 30 signals Weekly timeframe
    Endif
    If (date-date[1])=299 OR (date[1]-date[2])=299 Then
    a=100 // 100 signals Monthly timeframe
    Endif
    If (date-date[1])>9500 Then
    a=200 // 200 signals Annual timeframe
    Endif
     
    If (a=100) Then
     
    ema1= ExponentialAverage[10](close)
    Else
    If (a=30) Then
     
    ema1= ExponentialAverage[40](close)
    Else
    If (a=1) Then
     
    ema1= ExponentialAverage[10](close)
    ema2= ExponentialAverage[50](close)
    ema3= ExponentialAverage[200](close)
     
    EndIf
    endIf
    endif
     
    return ema1, ema2, ema3

     

    #38996 quote
    Pinny
    Participant
    Junior

    My guess – you probably used the Add Indicator button on the upper right side of the screen. If you want it to show on  the price bars/candles you should use the AddIndicator from within the settings menu on the upper left side (shows like a little wrench)

    #38999 quote
    EasyRead
    Participant
    New

    Thank you Pinny.

    I did as you suspected. The wrench settings worked as you said it would.

     

    Much obliged.

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

Indicator not showing on main screen


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
EasyRead @easyread Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by EasyRead
8 years, 7 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 06/25/2017
Status: Active
Attachments: No files
Logo Logo
Loading...