(login for full post details)
|
#2 (permalink)
|
CO/USA
Experience: Intermediate
Platform: TradeStation
Trading: Stocks, Futures
Posts: 38 since Jun 2020
Thanks: 28 given,
25
received
|
The cleanest way to handle this would probably be a function. I am not the expert on that so I will leave it for others to chime in on (I am the king of writing the same code in an indicator, strategy, and paint bar ).
I can think of a solution though that should work. Anything you do in an indicator can be done in a strategy (besides plot functions). So I would imagine that you could copy your logic into your strategy and have it run the same calculations then you could call those variables directly.
|
|
|