거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

RUBBERBANDS_3 EA - MetaTrader 4용 expert

조회수:
18429
평가:
(4)
게시됨:
2009.08.26 05:01
업데이트됨:
2014.04.21 14:54
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

RUBBERBANDS_3 EA

Version 1.0

This EA is intended to be less prone to big drawdowns than former RUBBERBANDS EA and RUBBERBANDS_2 EA. Awaiting your comments and suggestions for improvement.

The basic idea is the same as its predecessors, RUBBERBANDS EA and RUBBERBANDS_2 EA, it works in any timeframe for any currency pair, preferrably, EUR/USD, GBP/USD, and USD/CHF.

It opens orders in both directions (BUY & SELL) at a time initially, then opens an additional order in the forward direction everytime the price goes up or down, i.e., opens an additional BUY order everytime the price goes up by multiples of "pipstep" above the initial BUY order, and opens an additional SELL order everytime the price goes down by multiples of "pipstep" below the initial SELL order (this is opposite to RUBBERBANDS_2 EA).

When the price goes back from the lastly-placed order by "backstep" pips, it closes all the orders in the "forward" direction and opens a reverse order. At this time, there are only two orders left in the "backward" direction.

It closes those two outstanding orders when the specified profit "sessionTP" (in dollars) is reached, which functions as TAKEPROFIT, or, if set so ("use_sessionSL"==true), when the specified loss "sessionSL" (in dollars) is reached, which functions as STOPLOSS.

The opening of the initilal orders through the closure of all outstanding orders constitutes one "session".

The external variable "maxcount" limits the number of orders per session.

Use Strategy Tester to see how this EA performs.

Preferred currency pairs: EUR/USD, GBP/USD, and USD/CHF.

External variables are:

Lots = 0.02 (number of lots for each order)

maxcount = 10 (maximum number of orders allowed in one session)

pipstep = 100 (pip distance to place additional BUY or SELL orders in "forward" direction)

backstep = 20 (pip distance from the lastly-placed order to close all the orders in "forward" direction and place a reverse BUY or SELL order in "backward" direction)

quiescenow = false (if true, quiesces this EA when the current session ends)

donow = false (if true, opens orders immediately)

stopnow = false (if true, stops this EA)

closenow = false (if true, closes all outstanding orders)

use_sessionTP = true (don't change this)

sessionTP = 2000 (profit in dollars per lot to close all outstanding orders; functions as TAKEPROFIT)

use_sessionSL = true (If true, uses "sessionSL" below)

sessionSL = 4000 (loss in dollars per lot to close all outstanding orders; functions as STOPLOSS)

The following three external variables are for restarting this EA after, say, the weekend, when there are outstanding orders. "inmax" and "imin" are displayed as "GLBmax" and "GLBmin" on the chart.

useinvalues = false (set to true on restart)

inmax = 0 (set former max on restart)

inmin = 0 (set former min on restart)

Xma_Coloured Xma_Coloured

Color version of the XMA indicator.

Double-Zero Indicator Double-Zero Indicator

Visualizes important psychological levels ("Double-Zeros").

HOOL (High-Open, Open-Low) HOOL (High-Open, Open-Low)

The indicator helps to find Stop Loss levels.

TMAGi TMAGi

an oscillator based on 3MAs.