I need run a Wealth-lab script with 15 minute bar just once at each day end. I want do it in "Strategy monitor", so it is done automatically.
If possible? How?
Thanks a lot.
Size:
Color:
Before answering I'd like to learn what kind of script is this. What does it do? Why do you think it should be run at day end rather than each 15 minutes?
Size:
Color:
It run on 15m chart, to calc last hour price and volume etc action vs the whole day, the output data will be used for daily chart.
So, let says, I run 5pm today, I got past 400 days last hours trading info. this info now can show up in daily chart.
But seems if it is introday script, it cannot be scheduled run just once per day.
If you can modify "Strategy Monitor" make it can do so, then I do not have to open each script, click it run each day.
If you need more info, please let me know.
Thank you so much, you are the best!
Size:
Color:
Add a time condition to your code to skip Strategy execution before of after certain time span:
CODE:
Please log in to see this code.
Size:
Color:
If you really just need it to run
once at the close of the market for the current day, and take into account special hours closing times, then this should work. Assumes U.S. Stock market or data provider with Market Manager support.
CODE:
Please log in to see this code.
Size:
Color:
Thank you both. I will try out.
William
Size:
Color:
It works! I wish I am good with c# programing like you. Appreciate your help!
Great website, great work!
William
Size:
Color:
At your service.
Size:
Color: