Trader4TOS
Member
Still trying to work out some bugs. But here is an early release. To get started, within the menu, click on the "symbols" search bar to bring up the drop-down menu. Then you can select options and type the symbol in to bring up the various contracts or other instruments for your analysis. I hope to make this more user-friendly and practical. Please provide feedback and happy trading!
Ruby:
# Options Stocks Plus Comparison Tool compiled by Trader4TOS 06/22/2023
#you can compare stocks, options, futures, indices, FX, Studies, and more side by side on the same chart or lower sub-chart. The options work best with the sub-chart. So you can follow the option price along with the stock price. Great for buying options at the lowest premium possible. Once you click on the symbol search bar it will open the drop-down menu with additional features. Also added the option Greeks displayed in the small column above when you're using the sub-chart for additional guidance. All features are customizable within the menu.
declare lower;
input symbol = "";
def price = close(symbol = symbol);
plot FuturesPrice = price;
FuturesPrice.SetDefaultColor(color.yellow);
plot theo = optionPrice();
theo.SetDefaultColor(GetColor(0));
plot Data = open_interest();
def real_size = real_size;
def on_volume = on_volume;
plot vega = vega();
vega.SetDefaultColor(GetColor(0));
plot theta = theta();
theta.SetDefaultColor(GetColor(0));
plot delta = delta();
delta.SetDefaultColor(GetColor(0));
plot gamma = gamma();
gamma.SetDefaultColor(GetColor(0));
plot rho = rho();
rho.SetDefaultColor(GetColor(0));
plot imp_volatility = imp_volatility();
imp_volatility.SetDefaultColor(GetColor(0));
Last edited by a moderator: