Hello,
I am using the indicator Force Index, and I have added a 13EMA to the indicator. Then I can see 2 EMAs, the normal force index is 2 and the 13 in order to see a longer term force of the price.
I am trying to make an screener that search stocks when this 13EMA crosses the 0 line. Please find attached an screenshot, the force index is at the bottom, the cross is indicated with an elipse, the 13EMA is the pink line and the 2EMA is the light blue line.
I would really appreciate if you can help me to code the screener.
Thanks in advance.
Kind regards.
This code should work for your query:
mm1 = average[13](forceindex)
mm2 = average[2](forceindex)
condition = mm1 crosses over 0 and mm2>mm1
screener [condition]
I did not tested it, do you confirm it works correctly?