PDA

View Full Version : Showing a partial plot


velocity
02-04-2010, 07:53 PM
Can anyone give me guidance on plotting a for a certain time frame only. For example, I have a "Line" indicator with a 24 hour chart. How do I only plot the line for 9:30 EST - 4:15 EST. So that it will only show horizontal lines during that time and the rest of the time it would be Transparent or not visible.

thanks

NinjaTrader_Bertrand
02-05-2010, 06:52 AM
You could add a time filter to your plots as you set them...


if (ToTime(Time[0]) >= 93000 && ToTime(Time[0]) <= 161500)
Plot0.Set(SMA(Close, 20)[0]);

velocity
02-05-2010, 08:10 AM
Thanks, I will try that.