Custom Moving Average Option
Our applications are based on the actual value of the moving averages values, however we tend to use custom moving averages, such as SMA1, SMA3 etc. It would be really cool if there was an option to specify which MAs to use.
If this cannot be done, could you please add SMA1, SMA3 and SMA5 to the list? Perhaps you could correspond with me on how I can add this manually to the code?
Thanks!
Unfortunately, SMA1 and SMA3 are not supported (the minimum is SMA5). This has nothing to do with python-tradingview-ta, but the TradingView API just doesn't support them. A workaround is to use data from the exchange directly (python-binance for crypto, TAAPI for everything else).
Hi Brian
Thank you for your email. Would you happen to know if TAAPI supports the South African JSE market? If it does not, do you know where I can get real-time JSE market data to integrate with a Python script?
Kind regards
Roelof Coertze, PhD
University of Gothenburg Department of infectious diseases Guldhedsgatan 10, vån. 5 413 46, Göteborg, Sweden +46 31 342 46 26 (Office) +46 76 435 07 42 (Mobile)
On Sun, Sep 5, 2021 at 3:43 PM Brian @.***> wrote:
Unfortunately, SMA1 and SMA3 are not supported (the minimum is SMA5). This has nothing to do with python-tradingview-ta, but the TradingView API just doesn't support them. A workaround is to use data from the exchange directly (python-binance for crypto, TAAPI for everything else).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/brian-the-dev/python-tradingview-ta/issues/65#issuecomment-913157288, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIHQ4SIWFCYVMFQZS42ZUW3UANXW7ANCNFSM5DNOSHRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.