Hi, could someone guide me to code to be able to reflect stops as follows:
1. The initial stop is just below the last significant trough.
2. Each time the price makes a new high for the trend by rising above
the last peak, the sell stop level for the whole position is trailed up to just
below the last significant confirmed trough
This is shown as per the attached.
The idea is taken from Colin Nicholson's book Building Wealth in The Stock Market.
Any help will be appreciated.
1. The initial stop is just below the last significant trough.
2. Each time the price makes a new high for the trend by rising above
the last peak, the sell stop level for the whole position is trailed up to just
below the last significant confirmed trough
This is shown as per the attached.
The idea is taken from Colin Nicholson's book Building Wealth in The Stock Market.
Any help will be appreciated.