ThinkScript to C# Function Conversion

Job ID: 32842092

Budget: $10 – $300 USD

ThinkorSwim has a ZigZagHighLow() function I'm looking to outsource for conversion into a C# function I can use. There are also about 9 lines of custom ThinkScript code that uses the ZigZagHighLow output that would need to be converted. It's a pretty straight forward request.

ZigZagHighLow("price h" = priceh, "price l" = pricel, "percentage reversal" = percentamount, "absolute reversal" = revAmount, "atr length" = atrlength, "atr reversal" = atrreversal);

Price high and low needed for the function can be static, so long as the output is accurate based on real data. I will work actual price action functionality in to substitute for the PoC.