Support Board
Date/Time: Wed, 24 Dec 2025 18:53:56 +0000
Post From: Help converting Trading Views Pine Script loop into Sierra Chart's ACSIL
| [2019-08-04 16:19:07] |
| jakesans - Posts: 50 |
|
Teaching myself ACSIL, but having a bit of trouble with loops. My question is in regards to the below loop example from TradingView's Pine Script. I would like to know how to code to Sierra Chart's ACSIL. Is this possible to do using automatic looping or would it need to be set to manual looping? --------------------------------------- float SumC = 0 float Voss = 0 for i = 0 to (Order - 1) SumC := SumC + ((i+1)/Order) * Voss[Order-i] // * Voss[Order-i-1] if bar_index <= Order Voss := 0 else Voss := X2*Filt-SumC ---------------------------------------- |
