I plot a ribbon for the European trading session.
Because I am based in Perth this closes around 24h00 or midnight.
Now that DST has ended in Europe I need to modify the code below to allow me to plot the ribbon beyond midnight. I have tried Ref() function inside the Param function but to no avail.
_SECTION_BEGIN("Europe");
_SECTION_BEGIN("Europe");
Europeswitch = ParamToggle("Europe Time","Off|On",1);
EuropeOpen = Param("Europe Open", 150000, 130000, 170000,010000);
Europeclose = Param("Europe Close", 230000,220000, 240000, 010000);// how to plot the ribbon beyond midnight, ie to 010000 ??
Europetime = TimeNum() > EuropeOpen AND TimeNum() < EuropeClose;
EuropeColor = IIf( EuropeTime,ParamColor("Europe Time Zone",colorLightBlue), colorWhite);
_SECTION_END();
I have also tried
I have also tried
Europetime = Timenum() > EuropeOpen AND Timenum() < ref(EuropeClose,1);
but still do not get it to work.
What would be
a better approach here?
Regards
ChrisB
Access over 1 million songs - Yahoo! Music Unlimited Try it today. __._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
| Investment management software | Investment property software | Investment software |
| Investment tracking software | Return on investment software |
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
