You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are you trying to do?On Nov 17, 2023, at 11:41 PM, sadboytom889 ***@***.***> wrote:
I'm not familiar with C, how should I define "long" or "short" when using it in python?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
@mrjbq7
example:
/real body is long when it is longer than twice the average of the real bodies of the previous 10 candles/
{ TA_BodyLong, TA_RangeType_RealBody, 10, 2.0 },
How to implement such a setting in python?
Activity
mrjbq7 commentedon Nov 18, 2023
sadboytom889 commentedon Nov 20, 2023
@mrjbq7
example:
/real body is long when it is longer than twice the average of the real bodies of the previous 10 candles/
{ TA_BodyLong, TA_RangeType_RealBody, 10, 2.0 },
How to implement such a setting in python?
mrjbq7 commentedon Nov 20, 2023
Do you have an example in C that is what you're hoping to have work?
mrjbq7 commentedon Nov 20, 2023
I assume what you're looking for is
TA_SetCandleSettings...And this is how you'd do it in python:
sadboytom889 commentedon Nov 21, 2023
Thank you, this is exactly what I need