Forums ProRealTime English forum ProOrder support Automated trading with Pivot Points and Dojis Reply To: Automated trading with Pivot Points and Dojis

#71262

Once again, when I use the following code with the euro dollar mini chart, the trade does not close when a new lower low forms.

It simply DOES what you wrote. At line 95 you wrote to exit a LONG trade when a CLOSING price is lower THAN the previous low, not when it makes a lower low!