I want to have a condition that checks last before if there was a huge Drop or Pump in price.
So I would have a double that gives me an input that I can specify in strategy parameters .
Let's say my double is PriceChangeLastBar: 20
So my condition will check at the beginning of each bar if the price has dropped or pumped by 20 in the last bar
is there anyway to make this code?
Thanks

Comment