Eugene
I am able to fetch partialValue for my 30min timeframe data before the full bar is formed.
Is there any easy way to fetch partialValue for weekly and monthly in the same strategy ?My symbol for the loop would be SPY 30 mins? I want to check my weekly, monthly , daily in realtime before the bar is fully formed.
If I do SetScaleWeekly(); I can only access the bar already formed (last week) not this week (not formed yet). I can go back using 30 mins data to reconstruct my open, high for current week /month but before I do that, I want to check with you to see if you have a less painful way.
Size:
Color:
QUOTE:
I can go back using 30 mins data to reconstruct my open, high for current week /month
That's the way to go.
Out of curiosity, why would you want to do this?
Size:
Color:
Size:
Color:
I want to generate signal if the partial bar shows certainly week AND monthly AND daily AND intraday pattern
Size:
Color:
Until the Weeekly/Monthly bar is finally formed your signal may get canceled and resumed many times. Anyway it's up to you.
Size:
Color:
yeah i know.. intraday trade with stops no worries
Size:
Color: