거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
8620
평가:
(8)
게시됨:
2008.06.24 07:02
업데이트됨:
2014.04.21 14:52
12.gif (39.98 KB)
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동


A TS based on the kickback from intraday levels calculated by indicator Pivot is implemented.

Trade Rules:

  • trade on the H1 timeframe;
  • after 00.00 a.m. of the current day, calculate Pivot, Resist1, Resist2, Resist3, Support1, Support2, Support3 levels;
  • buy after testing the one-hour candlestick (T-2) of the Support(n) level and closing the (T-1) candlestick above this level, StopLoss being placed on the Support(n+1) level, TakeProfit on the Resist(n) level. T is the time of the current hour;
  • to move StopLoss to the lossless point, trailing is used;
  • vice versa, sell when one-hour candlestick (T-2) is testing Resist(n), and candlestick (T-1) is closed below this level, StopLoss - Resist(n+1), TakeProfit - Support(n).

The values of some inputs:

  • the TgtProfit variable specifies the levels of stops and profits and can have the values from 1 to 5;
  • if TgtProfit = 1, then the tested level (buy/sell) = Resist1/Support1, StopLoss (buy/sell) = Resist2/Support2, TakeProfit (buy/sell) = Support1/Resist1;
  • if TgtProfit = 2, then the tested level (buy/sell) = Resist1/Support1, StopLoss (buy/sell) = Resist2/Support2, TakeProfit (buy/sell) = Support2/Resist2;
  • if TgtProfit = 3, then the tested level (buy/sell) = Resist2/Support2, StopLoss (buy/sell) = Resist3/Support3, TakeProfit (buy/sell) = Support1/Resist1;
  • if TgtProfit = 4, then the tested level (buy/sell) = Resist2/Support2, StopLoss (buy/sell) = Resist3/Support3, TakeProfit (buy/sell) = Support2/Resist2;
  • if TgtProfit = 5, then the tested level (buy/sell) = Resist2/Support2, StopLoss (buy/sell) = Resist3/Support3, TakeProfit (buy/sell) = Support3/Resist3;
  • the isTradeDay variable determines the way the opened positions will be closed. If isTradeDay = true, then the opened orders will be compulsory closed at the end of the day, otherwise the orders will be at the market until they are closed by StopLoss or TakeProfit;
  • if the value of the variable isTrace = True then the information of all kind will be written to the log file for debugging the TS.

The test results: the positive result was not reached with every currency pair using this approach of kickback. Mainly, the positive profitableness was reached when the trailing was used.


CandRelation CandRelation

A try to formalize three parameters of a candle - the upper, lower shadows and the body.

TrendLineRange TrendLineRange

The indicator informs about that the price is approaching to support/resistance line in 3 positions.

The MasterMind 2 (Version2.0) The MasterMind 2 (Version2.0)

10K Flipped to 666K Under 3 Months, 60.04 Profit Factor...Have Fun! Code Pushes 3 Lots(Maximum) at a Time.

Polish Layer Expert Advisor System Efficient  - at a glance: "PLEASE" Polish Layer Expert Advisor System Efficient - at a glance: "PLEASE"

This EA based on indicators: RSI, WPR%, Stochastic, Moving Average, deMarker. Only 15 MIN charts I recommend