CirclingSkies
New member
My first post. Sorry if this subject has been covered before, which I imagine it has ad nauseam. I tried searching but I must not understand how to do that very well either... sorry.
I've built a daily swing strategy that is supposed to indicate do nothing, buy, sell, or hold based on several triggers on a daily chart at the close of trading. So after the market has closed (during after hours), I want it to indicate what to do. However, in real time after hours, I can't (nor ChatGPT, nor TOS support) can get the strategy to indicate (either painted on the chart or in a label) to buy, sell, or hold. All of my addorder commands (which are separated for each trigger to help with backtesting) are set to "close" as well as any other trigger. But the strategy doesn't indicate anything until the open of the next day what you should have done at close previous trading day. I know that works fine on a intraday chart which my strategy does and doesn't repaint. I tried using "entryprice" as an indicator if it's still in a trade or not but entryprice must go double.nan after hours on a day aggregation. Not sure. But what esle should I try? Thanks!
I've built a daily swing strategy that is supposed to indicate do nothing, buy, sell, or hold based on several triggers on a daily chart at the close of trading. So after the market has closed (during after hours), I want it to indicate what to do. However, in real time after hours, I can't (nor ChatGPT, nor TOS support) can get the strategy to indicate (either painted on the chart or in a label) to buy, sell, or hold. All of my addorder commands (which are separated for each trigger to help with backtesting) are set to "close" as well as any other trigger. But the strategy doesn't indicate anything until the open of the next day what you should have done at close previous trading day. I know that works fine on a intraday chart which my strategy does and doesn't repaint. I tried using "entryprice" as an indicator if it's still in a trade or not but entryprice must go double.nan after hours on a day aggregation. Not sure. But what esle should I try? Thanks!