Closed x-ender closed 7 months ago
Yeah, but I want to customize it to work on fractals. :(
You don't need Fractals. It's an indicator that repaints, and you can use its values by few candles ago. That's why it shows good results on historical data, where all candles are known. In realtime it's not very helpful. Try to use instant indicators, like psar or macd etc.
Hi, I am trying to use the PSAR indicator from [po_bot_indicators.py} but I don't get it correctly. With the Option (.is_reversal) no longer returns the correct values, I notice that the SAR values aren't inconsistent respect to their normal values (eg, as the indicator values in Traidingview) that reflect the value of the price at the point indicated by the PSAR My code is like this:
if psar[-1].is_reversal:
do_action('put')
else:
do_action('call')
Any suggestion of how this indicator works and how to take real values? Thanks so much.
...This is a good capture.. you can see the is_reversal and sar values printed in the Terminal and the erratic signal in the Closed Tab in referal to the Psar poits in the graph. To this case I change the signal in the If Else, but is the same problem in contrary case.
I Watch the last values for Psar[-1] and notice the value for date is not the same of the actual time.. it was hour 23:46 and my times was 20:40 (10:40pm), I have the same time in PO. I think that is the reason why the values do not correspond to the graph. Any Idea for that?
Assuming I have a strategy that help me derive signals with the help of indicators.. and I want to automate it, can it be implemented. I mean, can you read indicator values in code and provide signals based on certain indicators values.