apiwat.biz
Pine Script Rookie
Pine Script Rookie
Posts: 1
Joined: September 17th, 2023

Can I fix this code ?

"
ActionSterlingZoneCalculation(thissec, thistf, thisalert) =>
usingTf = xfixtf ? xtf : thistf

CurrentSecurity_high = request.security(thissec, usingTf, high)
CurrentSecurity_low = request.security(thissec, usingTf, low)
CurrentSecurity_close = request.security(thissec, usingTf, close)

CurrentPrice_high = CurrentSecurity_high[closeback]
CurrentPrice_low = CurrentSecurity_low[closeback]
CurrentPrice_close = CurrentSecurity_close[closeback]

Security = thissec


[CurrentPrice_high, CurrentPrice_low, CurrentPrice_close]


[CurrentPrice_high, CurrentPrice_low, CurrentPrice_close] = ActionSterlingZoneCalculation()
"



the issue show red "ActionSterlingZoneCalculation()"
I try to fix this more than 48hr can't fix it, Please help me

Thank a lot, Apiwat

Return to “Request Scripts”