Indicator for Stop Loss levels calculation using Bill Williams technique [ ru ]

0
(0)
Name:
Indicator for Stop Loss levels calculation using Bill Williams technique [ ru ]
Author: cmillion (2009.11.10 10:30)
Downloaded: 6466
Download:
Indicator for Stop Loss levels calculation using Bill Williams technique [ ru ] 1
 SL_to_Bar_ENG.mq4 (9.3 Kb) View
Indicator for Stop Loss levels calculation using Bill Williams technique [ ru ] 1 SL_BW.mq4 (10.8 Kb) View

Author

Vladmir Hlystov

Description:

An indicator for Stop Loss levels calculation using Bill Willams technique

Bill Williams in his book "Trading Chaos: Applying Expert Techniques to Maximize Your Profits" (Chapter 7, Level One: Novice Trader, p.95) has described SL as follows:

"...We place the air bag one tick above/below the high/low of the second bar back on one significantly higher time frame (or the next bar further back that has both a higher high and a higher low or a lower high and lower low).

This is our air bag protection. Its purpose is to protect us against a drunken market that is moving against us. Remember, it is not necessiarly an entry signal; it is protection against major losses..."

The indicator calculates and shows Stop Loss levels (for Buy and Sell positions without installed SL) using this method.

Indicator variables:

int BAR = 200; // searching for in last BAR bar
int minSL = 25; // it is exposed when 2 bars are not found
bool show_bar = true; // show bars on which search for SL
show_info = true; // show active orders without SL
color color_BAR = DarkSlateGray; // colour bar on which search for SL
color color_Тек_BAR = Gray; // colour of the current bar
color color_SL = Gray; // colour of the marks

 

Image:

Indicator for Stop Loss levels calculation using Bill Williams technique [ ru ] 3

 

 

Fig 1. Bar was found

Indicator for Stop Loss levels calculation using Bill Williams technique [ ru ] 4

Fig 2. The upper bar was not found (SL for Sell position has determined using the greater timeframe):

 

Recommendations:

 

  • SL Level is drawing on the right side of the current bar, set chart shift on: Indicator for Stop Loss levels calculation using Bill Williams technique [ ru ] 5
  • To make it clear, use show_bar=true
  • Good Luck!

 

17.10.2009:

A new feature has added:

It is possible to show Stop Loss Levels in the history (Indicator for Stop Loss levels calculation using Bill Williams technique [ ru ] 6SL_BW.mq4):

Indicator for Stop Loss levels calculation using Bill Williams technique [ ru ] 7

 

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.