John Crowley![]() Member Posts: 8 Joined: 6/17/2016 ![]() | I've gone one step further and with what actually turned out to be simpler than I thought I've produced a stop that (almost) matches with the requirements here is the code: #Stop Dim myvalue as single Dim mystop as single If WT_LL(0.7, 14, 0) < sma(30) Then MyValue = WT_LL(0.70, 14, 0) Else If MyValue = sma(30) end if MyStop = MyValue If Signal = Longsignal And L End if plotprice("Stop",MyStop,green) the plot is displayed in green on the second chart. however my problem is this: the code of the stop is WT_ZZ(0.7,14,0) which as you can see in the attachment is the same as the indicator setting however the movement of the stop is not using the same settings, its clearly taking differennt parameters is this a bug? could somebody please verify [Edited by John Crowley on 6/18/2016 2:01 AM] ![]() |