Open KrisSzyp opened 1 month ago
This btc address is good.
Your condition can be if quotes[-1].close < psar[-1].sar and quotes[-1].close < supertrend[-1]:
You can test with simplified condition: quotes[-1].close < supertrend[-1]:
No, Martingale is not used in po_bot_indicators
. This file is mostly for strategies testing. Just write your wise condition and test the performance. If you have profitability > 51%, then you can move such strategy to the po_bot.py
for Martingale approach.
if quotes[-1].close < psar[-1].sar and quotes[-1].close < supertrend[-1]
I get he not get any transaction. @VitalySvyatyuk
No, Martingale is not used in
po_bot_indicators
. This file is mostly for strategies testing. Just write your wise condition and test the performance. If you have profitability > 51%, then you can move such strategy to thepo_bot.py
for Martingale approach.
Can you show me how to transfer, for example, PSAR to Martingale, because I'm testing it and I see that with marginale I would have better results? In 7 hour i get 1 $ to transaction and i get 30 $ profit 1$ to 1 signal PSAR with assumption The largest margin would be 4, so I would like to test it. @VitalySvyatyuk
you have to use supertrend[-1].upper_trend or .lower_trend as mentioned here: https://python.stockindicators.dev/indicators/SuperTrend/#content
So, for PUT use: if supertrend[-1].upper_trend:
if quotes[-1].close < psar[-1].sar and quotes[-1].close < supertrend[-1]
I get he not get any transaction. @VitalySvyatyuk
If i get this a have 0 transaction on this paramter when i delete and get only get transaction . Why ? @VitalySvyatyuk
I moved PSAR strategy to the po_bot.py
, and made it in kris
branch. Use this code from here: https://github.com/VitalySvyatyuk/pocket_option_trading_bot/blob/kris/po_bot.py
I moved PSAR strategy to the
po_bot.py
, and made it inkris
branch. Use this code from here: https://github.com/VitalySvyatyuk/pocket_option_trading_bot/blob/kris/po_bot.py
Thx.
if quotes[-1].close < psar[-1].sar and quotes[-1].close < supertrend[-1]
I get he not get any transaction. @VitalySvyatyuk
If i get this a have 0 transaction on this paramter when i delete and get only get transaction . Why ? @VitalySvyatyuk
You can take a look because it still doesn't work when I run PSAR and SUPERTREND @VitalySvyatyuk
In your py_bot on PSAR he open a transaction when the candle will break the PSAR and not at the end of the candle, this means that the candle, for example, returns and the PSAR does not change, and there is already a transaction, it can be changed at the end of the candle.
Can I make them available for 10s, 15s, 30s or at least 1 minute?
It works nicely, but can you provide the code that would need to be pasted to make Martingale trading work like in the po_bot.py file? Thank you in advance. And the question is, I tried to create such a setting if quotes[-1].close < psar[-1].sar and quotes[-2].close < supertrend[-2]: do_action('put') if quotes[-1].close > psar[-1].sar and quotes[-2].close > supertrend[-2]: do_action('call') but it doesn't work for me, the point is that if these two conditions are met, it should only place the transaction. The good thing about this bot is that if you change the currency, if it drops below 92% and the Martingale, you could add it and if you don't want to use it, you set the multiplier to 1 and it wouldn't work. Also let me know if this address BTC is ok bc1qemxzzy6rq6ycxjn0f00yqgptjqldkms8g2ucu0
Job well done. @VitalySvyatyuk