algorithmic-trading

How to store data (pivots) from previous trading day, and draw them as levels on current today trading session?

≯℡__Kan透↙ 提交于 2021-01-07 06:34:30
问题 Trying to find some way to store pivots data of the previous day trading, and put them inside an array to carry those points to the current day trading for drawing them as line levels. For example, $AAPL stock. On Tuesday (yesterday), recorded pivots points at these levels [100.2, 100.3, 100.5] at 15-min timeframe. On Wednesday (today), I'm looking to draw Support/Resistance lines based on selected pivots [100.2, 100.3, 100.5] from the previous day of trading. I've already done it in python,

How to store data (pivots) from previous trading day, and draw them as levels on current today trading session?

岁酱吖の 提交于 2021-01-07 06:32:09
问题 Trying to find some way to store pivots data of the previous day trading, and put them inside an array to carry those points to the current day trading for drawing them as line levels. For example, $AAPL stock. On Tuesday (yesterday), recorded pivots points at these levels [100.2, 100.3, 100.5] at 15-min timeframe. On Wednesday (today), I'm looking to draw Support/Resistance lines based on selected pivots [100.2, 100.3, 100.5] from the previous day of trading. I've already done it in python,

installing the ibapi package

情到浓时终转凉″ 提交于 2020-12-04 03:15:06
问题 Hi I am trying to install ibapi in python however the package seems to be unavailable because there is an error every time I try to install it is there another way I can install this package . Your help will be greatly appreciated. I have left the code I used. to try and install the package pip install ibapi 回答1: The official Interactive Brokers API is only offered through their Github site and not the Python Package Index (PyPI) because its distributed under a different license. You can

installing the ibapi package

泄露秘密 提交于 2020-12-04 03:13:46
问题 Hi I am trying to install ibapi in python however the package seems to be unavailable because there is an error every time I try to install it is there another way I can install this package . Your help will be greatly appreciated. I have left the code I used. to try and install the package pip install ibapi 回答1: The official Interactive Brokers API is only offered through their Github site and not the Python Package Index (PyPI) because its distributed under a different license. You can

installing the ibapi package

大城市里の小女人 提交于 2020-12-04 03:13:32
问题 Hi I am trying to install ibapi in python however the package seems to be unavailable because there is an error every time I try to install it is there another way I can install this package . Your help will be greatly appreciated. I have left the code I used. to try and install the package pip install ibapi 回答1: The official Interactive Brokers API is only offered through their Github site and not the Python Package Index (PyPI) because its distributed under a different license. You can

can't access value from function in pine editor

只谈情不闲聊 提交于 2020-11-29 19:10:36
问题 I am trying to test out an RSI-14 DI reversal strategy, but am unable to access the DI+ or DI- (variables are "plus" and "minus") from the function that they are in. Any ideas on how to access them? Here is the code: //@version=4 strategy("RSI-14, DI+, DI- Reversal Strategy", overlay=false) /// DI+ DI- Code /// /// DI+ is the variable called "plus" and DI- is the variable called "minus" adxlen = input(14, title="ADX Smoothing") dilen = input(14, title="DI Length") dirmov(len) => up = change