Plot price level line at the highs of candles when Volume is greater than average


Category:
0
0

Hello Hahn,

Is it possible to create a study that plots price level lines at the highs of each daily candle that does above-average volume (VolumeAvg50 default)?

 

So in essence, the condition will be.

If the stock (at close) has done daily volume greater than its average volume (Volume> Volumeavg 50), plot a price level line at the high of that day’s candle.

This should work for previous candles only and never for the current day’s candle

 

Also now for the properties of the price level line

Color= Yellow

Width= 3

Name= Amount of volume done on the day

Show name= on the right

Left extension= off

Right extension= on

 

 

I have included a link to a screenshot below on how the code should function.

http://tos.mx/7mCd8S

Marked as spam
Posted by (Questions: 22, Answers: 63)
Asked on August 12, 2018 12:06 pm
581 views
0

The email address you provided for your user account is invalid. This will prevent you from receiving email notifications about your posts.

( at August 12, 2018 2:33 pm)
0
Private answer

There is no way to add or manipulate drawing objects from code on Thinkorswim. You can only create plots. As you know, plots do not have properties such as name, value, or left/right extension.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on August 12, 2018 2:25 pm