Greg Winch![]() Regular ![]() ![]() Posts: 71 Joined: 1/21/2007 Location: Phoenix ![]() | Matthew, Thank you for your patience with my learning curve. I've read through your post #11333, printed it out and atempted to program the LLV Stop as a virtual stop. I am still having no success with setting a stop (i.e. LLV(3) for use on the next bar. I am copying the code I wrote for the stop level I am looking for: ----------------------------------------------------------------- #Stop #Param "PctCush",0.005 #Param "LB_Periods",3 Dim MyStop as single If Signal=LongSignal Then MyStop=LLV(L,LB_Periods)[1]-(LLV(L,LB_Periods)[1]*PctCush) Elseif Signal=ShortSignal Then MyStop=HHV(H,LB_Periods)[1]+(HHV(H,LB_Periods)[1]*PctCush) End If ---------------------------------------------------------------------- Can you let me know if I'm on the right path here and if so, exactly how I can get this stop level to fire as a Stop Market order during a daily bar? My problem I think is combining the above "MyStop" with your instruction in the post. Greg |