Useful Data Display Panel

Hi,

I’m new to this site and have been workign on a cBot that displays some quick glance info to help me with my trading.

I’ve created the following information panel which loads top right

image

It basically gives me:

  1. a dynamically updated pip difference for every tick.
  2. Market Sentiment according to last 10 candles on EMA 20 - showing trend on a 15m chart
  3. Market Sentiment according to last 10 candles on EMA 50 - showing trend on a 1hr chart
  4. Market Sentiment according to last 10 candles on EMA 100 - showing trend on a 1day chart
  5. Market Sentiment according to last 10 candles on EMA 200 - showing trend on a 1 week chart

I’ve included dynamic calculations showing where the pip difference is above the EMA line and also the % difference above/below so you can have an idea of how far it is in the positive/negative from the EMA to guide your trades.

Then there’s a Uniocode up/down triangle to give quick info.

Now my query.

I’ve been trying to get the code to change colour depending on bearish/bullish sentiment but it’s been largely unsuccessful. Is this something anyone has had experience with? The closest I got was to get it working (shown below) was that it attached itself to the price and would move with price action with half off the data hanging right of the screen.

Any advice? Once i’ve got it how I want it i’d be happy to share if anyone thinks it could be useful

Yo those stats are pretty cool!

I know nothing about coding, but I did have a mini side project at work dealing with Google Forms and App Script. I actually used chatgpt to help me with the script code. Have you tried any of the AI chatbots?