The signal and information indicator Williams Thrust is based on two Williams' Percent Range indicators with different periods and their average values.
There are five inputs:
Calculations:
if FirstWPR > FirstMA and SecondWPR > SecondMA - a Buy signal.
If FirstWPR < FirstMA and SecondWPR < SecondMA - a Sell signal.
Otherwise - neutral value.
where:
FirstWPR = WPR(First WPR period) SecondWPR = WPR(Second WPR period) FirstMA = MA(FirstWPR, First MA period, MA method) SecondMA = MA(SecondWPR, Second MA period, MA method)



Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/21683