keyword having exact same working as goto statement in c for afl ???
you can use Iff condition
IIf function
The IIf( ) function is used to create conditional assignments.
variable = IIf( EXPRESSION, TRUE_PART, FALSE_PART );
The above "IIf" statement means: For each bar EXPRESSION is true assign TRUE_PART to the variable, otherwise (when EXPRESSION is false) assign FALSE_PART.