How to compare MA with static Price Value ? #293
samirissa00
started this conversation in
General
Replies: 1 comment 1 reply
-
@samirissa00 I don't quite understand what you're trying to do. Wait can be only used when doing a crossover. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ,
how can i do something like this ?
price = 4000.00
ma = vbt.MA.run(price_df['close'], 1, short_name='ma9', ewm=False)
ma.ma_above(price, wait=1)
?
because the 'other' to comprare , can not be a price or number ...
thanks for the clarification !!!!!
Beta Was this translation helpful? Give feedback.
All reactions