John J![]() Regular ![]() ![]() ![]() Posts: 90 Joined: 12/20/2011 Location: Leduc ![]() | I realise that a lot of suggestions for revamping Olang have been put forward throughout the years, especially by Jim Dean. Granted, it’s a major undertaking and some of the suggestions may break backward compatibility with older code. Hence, it's understandable that Nirv might be reluctant to do anything about it due to all the other important ongoing projects. What I’m suggesting in this tread though, has nothing to do with the code itself, but merely a request to expose more read-only variables derived from the symbol database. Also, some variables found under the Focus List Wrench -> Intraday Tab for instance, are not even declared in Olang. Here are some variables I would like to see added; - Previous Day High/Low/Close – Important for calculations derived from the daily bar when working in an intraday time frame (i.e 5, 15, 60 min etc.) - Average Daily Trading Range (ADTR) – Display daily ATR when working in an intraday time frame (i.e 5, 15, 60 min etc.) - Option Strike Price Interval – Important for calculating the probability of a price crossing the next strike price (i.e a $1 strike price interval on a $50 stock requires a 2% move to cross the strike price, whereas a $0.5 strike price interval on a $50 stock requires a 1% move to cross the strike price) - Number of Bars since trade was entered – Self-explanatory (if no active trade, return -1). - Entry Price – Self-explanatory (if no active trade, return -1). Feel free to add your own suggestions to this thread… |