Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ema and macd

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ema and macd

    I am working on a script to show the trend of macd or ema

    The script is working but I do not like where I am placing the data.

    I have tried a few different methods but cannot get any of them to work.
    • I tried to get this to write in its own panel but it continues to write in the data box no mater what I do
      • This would be my ideal solution if I could get it to work
      • here is an example:
        • Draw.Text(this, "MACDState1Min", "●", TrendLocation, textPositionY, currentColor1Min);
      • How do I get this to write in a different panel?
        • I have tried setting the indicator to a different panel and it does not work. Does draw.text only work in the main data box?
        • Specifically I would want it in a panel and just have the multiple lines left justified
    • I could leave the draw.text where it is but when I switch from NQ to CL to YM the data displays in extreme locations
      • I created a setting that looks at the stock and determines where to place it and that works for the most part but maybe I want to eventually look at other futures
      • Another alternative would be writing an algoritm based on the size of the chart being displayed
        • I have tried to see if I could find the viewable chart range. In the example below it is showing 20240 to 19900
          • How do I see the range for the viewable chart (not candles)
    Thanks for any suggestions.


    Click image for larger version

Name:	macd ema trend.png
Views:	229
Size:	18.5 KB
ID:	1311409

    #2
    Hello p1kn1t,

    Thank you for your post.

    You can set DrawOnPricePanel to false if you want the drawing objects to appear in the indicator panel instead of in the main price panel.



    Please let us know if you have any further questions.

    Comment


      #3
      I am not sure why I missed that. Thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      597 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      343 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      556 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      555 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X