Hello!
This is a great tool! I have a few questions that could make it more efficient for me, almost a one click tool for what I need:
1) Could the stop-loss be set to the highest or lowest wick value in 8 candles (instead of the last one), for either buy or short by seeing if the current candle is red or green? It always defaults to buy I think.
You could code a seperate indicator finding the stop loss placement using iHighest/iLowest and then drawing a line. Then you place the PSC stop loss line at the drawn line.
That's what I have done.