This script is trying to find 3 Bar Play pattern and take profit of 2:1 with option to partial at 1:1.
The pattern has a weighted first bar and then a smaller bar with relative equally high. The first entry should be by the next bar only.
Parameters:
* Default strategy parameters, including initial capital and commissions.
* Risk Unit $ - The risk unit per trade in currency.
* Weighted Bar ATR Ratio - the ratio between the weighted bar true range to the ATR.
* Small Bar Ratio - The ratio between the smaller bar true range to weighted bar.
* Equal Price Ratio - The ratio of acceptable price change in compare to the stock price.
* Partial Qty Ratio - The ratio of the first partial equity.
Good luck!
Chen.