Help me please how to i check MACD Crossover Signal by using "HasCrossedAbove"
Created at 29 Apr 2024, 07:19
Help me please how to i check MACD Crossover Signal by using "HasCrossedAbove"
29 Apr 2024, 07:19
I use macd crossover signal by using more code like bellow
if (sinal2>macd2 && signal1<macd1)
Please help me how to use Macd.HasCrossedAbove funcion to help optimize my code.
Thank you very much.
firemyst
29 Apr 2024, 08:00 ( Updated at: 29 Apr 2024, 09:49 )
https://help.ctrader.com/ctrader-automate/references/Collections/DataSeries/Functions/#hascrossedabove-2
@firemyst