IsPaintIndicator - paint indicator based on session

Login or Register

Please login or register in order to view and post in the Forum.

3 posts / 0 new
Last post
ctj0601
Last seen: 5 years 2 months ago
Joined: 11/10/2011 - 00:00
IsPaintIndicator - paint indicator based on session

Hello community. Ive setup IsPaintIndicator and think the combinations of functionality is amazing. Im stuck trying to figure out how to change the color of my indicator based on the time of day. Im not sure if this is a request to add a "session" option to the "Paint When" list or if i just need help understanding how to create a signal for when the rth session is true. (Not sure if it matters but my chart periodicity is 6x1 Range & Reverse).
Ive uploaded a sample chart: https://www.linnsoft.com/charts/untitled-esu7
thanks

0
cpayne
Last seen: 1 year 9 months ago
Joined: 03/30/2009 - 00:00
Idenitifying Day Session with Signal

You can import this chart: https://www.linnsoft.com/charts/painted-ma-daysession-es

Which shows how a moving average is painted a different color during day session.

The signal uses the following syntax:

SESST > 0

With Session Statistics setup as follows...

SESST will return a positive number (number of bars into day session) during the day session, and a value of 0 during the overnight (ETH) period.  To convert the signal to identify the overnight bars:

SESST = 0

Hope this helps.

ctj0601
Last seen: 5 years 2 months ago
Joined: 11/10/2011 - 00:00
Idenitifying Day Session with Signal

exactly what i needed. thank you very much.