I am attempting to see it up where I could have an order opened up if it strikes an indior line

I am wondering what is the best way to pass a buffer factor result to a factor in the EA? I've two indiors... each with 6 lines (each their particular buffer)....

Therefore, if price = result; open trade... and opening just 1 trade per line.... I have 4 lines and if line 1 is hit, I do not want it to open another trade online 1... it could then hit line 2 and open a trade...

line 0 is the guiding line, it is a moving average line
online 1, open base size lot
online 2, open base size lot *2
online 3, open base size lot *3
online 4, open base size lot*6
online 5, shut the trade at end loss
once it comes back to line 0, it is going to shut all transactions

so if base size lot is .01... then it would open up a .01 trade, .02 trade, .03 trade, and a .06 trade.... Hence a lot size of .12 would be opened

Also, I could use an array to store how many times each line has been hit for ratio functions, correct? And is there a way to start a clock when line 1 is hit until line 0 is hit? Therefore, measure how long it takes to return into the moving average line