Rules: Price Crossing Above Indicator
Author: rctrade
Creation Date: 8/14/2019 6:03 PM
profile picture

rctrade

#1
When using Conditions for Entries and exits for a strategy, as an example if one of the triggers are:
" Price Crossing Above Indicator" does the crossing mean just a crossing or does it also look for condition of price being above the indicator, i.e. if it gaps up.
Would I need to modify the code to change from "crossing" to >=.
Thanks rctrade
profile picture

Eugene

#2
I have trouble understanding what "just a crossing" may mean. The way the "Price crosses X% above indicator" condition (you must be talking about that?) acts is described in the QuickRef (F11 key) > Common Signals > CrossOver:

QUOTE:
Specifically, CrossOver returns true if the current value is above the target value at the specified bar, and the previous value was less than or equal to the target value at the previous bar.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).