alexgrover

Bilateral Stochastic Oscillator Strategy

Introduction

Strategy based on the bilateral stochastic oscillator, this oscillator aim to detect trends and possible reversal points of the current trend. The oscillator is composed of 1 bull line in blue and 1 bear line in red as well as a signal line in orange, the strategy have many options such as two different strategy framework and a martingale mode. If you require more information about the indicator go check it into my uploaded indicators.

Strategy Frameworks

There are two frameworks available that can be selected from the strategy settings window. Both have the same closing conditions, the "Bull/Bear Cross" entry conditions are :

Buy : when the bull line cross over the bear line
Sell : when the bear line cross over the bull line

The "Signal Cross" entry conditions are :

Buy : when the bull line cross over the signal line
Sell : when the bear line cross over the signal line

Both have the same close conditions that is : close when bull/bear cross under the signal line.

Introduction To Martingale

The martingale money management system consist to double the order size after a loosing trade and can be described as a 2^x where x is the current number of loosing trades since the last win trade, when we win a trade the order size return to the default order size. Therefore our order size function is based on exponential growth.

This system enable the trader to win back his previous losses plus a potential profit, martingales must always be used with stops and sometimes take profits in order to get control in a strategy.

It must always be taken into account that in a series of losses the balance can exponentially decay thus ending to 0 in a matter of trades, this is why it is not recommended to use such system. The strategy allow you to select a martingale multiplier that can be inferior to 2 thus limiting risks, a multiplied of 1 disable the martingale.

Results

Those are the some statistics of the strategy applied to some forex majors by using the default settings in a time frames of 15 minutes.

//-------------------------------------------------------

EURUSD - Order Size 1000 - Spread 0.0002

Profit : $ 21.08

Trades : 19

PP : 57.89 %

Profit Factor : 3.228

Max Drawdown : -$ 3.81

Average Trade : $ 1.11

//-------------------------------------------------------

GBPUSD - Order Size 1000 - Spread 0.0002

Profit : $ 2.31

Trades : 20

PP : 55 %

Profit Factor : 0.938

Max Drawdown : -$ 20.29

Average Trade : $ 0.12

//-------------------------------------------------------

EURAUD - Order Size 1000 - Spread 0.0002

Profit : -$ 9.22

Trades : 20

PP : 40 %

Profit Factor : 0.698

Max Drawdown : -$ 23.44

Average Trade : $ 0.46

//-------------------------------------------------------

EURCHF - Order Size 1000 - Spread 0.0002

Profit : $ 1.58

Trades : 24

PP : 54.17 %

Profit Factor : 1.103

Max Drawdown : -$ 7.23

Average Trade : $ 0.07

//-------------------------------------------------------

Conclusions

Based on the results the strategy does not posses the sufficient performance in order to apply a martingale or any other growth systems as order size. Parameters might be subject to drastic changes depending on the market/time-frame in order to return long-term positive results. I let you draw your conclusions.









Check out the indicators we are making at luxalgo: www.tradingview.com/u/LuxAlgo/
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?