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)



Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/21683