gpfTCPivotLimit - MetaTrader 4EA
- 显示:
- 3177
- 等级:
- 已发布:
- 2006.01.24 21:56
- 已更新:
- 2014.04.21 14:55
- 需要基于此代码的EA交易或指标吗?请在自由职业者服务中订购 进入自由职业者服务
It is realized by the Trading System on a release
from intraday time levels, which pay off on indicator Pivot.
Trading:
- it is traded on hour timeframe;
- after 0 hours of current day, we count levels Pivot, Resist1, Resist2, Resist3, Support1, Support2, Support3;
- we make purchase after testing level Support (n) by hour
candle (T-2) and closing of candle (T-1) above this level, and place
stoploss on level Support(n1), takeprofit - on level Resist(n). Т -
time of current hour;
- is used trailing for carry of a stoploss to a point of break-even;
- we make sale, on the contrary, when an hour candle (T-2) tests Resist(n) and the candle (T-1) is closed below the same level, and place stoploss on level Resist(n1), takeprofit - onSupport(n).
I explain value of some entrance parameters:
- variable TgtProfit sets levels of stoplosses/takeprofits and can have values from 1 up to 5;
- if TgtProfit = 1, that a tested level (buy/sell) =
Resist1/Support1, stoploss (byu/sell) = Resist2/Support2, takeprofit
(buy/sell) = Suppor1/Resist1;
- if TgtProfit = 2, that a tested level (buy/sell) =
Resist1/Support1, stoploss (buy/sell) = Resist2/Support2, takeprofit
(buy/sell) = Support2/Resist2;
- if TgtProfit = 3, that a tested level (buy/sell) =
Resist2/Support2, stoploss (buy/sell) = Resist3/Support3, takeprofit
(buy/sell) = Support1/Resist1;
- if TgtProfit = 4, that a tested level (buy/sell) =
Resist2/Support2, stoploss (buy/sell) = Resist3/Support3, takeprofit
(buy/sell) = Support2/Resist2;
- if TgtProfi t= 5, that a tested level (buy/sell) =
Resist2/Support2, stoploss (buy/sell) = Resist3/Support3, takeprofit
(buy/sell) = Support3/Resist3;
- the variable isTradeDay defines, that as the open positions
will be closed. If isTradeDay = true, the open warrants will be
compulsorily closed on the termination of day, else warrants will be in
the market yet will be closed on stoploss or takeprofit;
- at installation value of a variable isTrace = True in a broad
gully the file is carried out record of the every possible debugging
information for debugging the Trade Systems.
Results of testing: not all pairs at use of this approach on a release send on a positive level of profitableness. Basically positive profitableness has been reached at use trailing.
由MetaQuotes Ltd译自俄语
原代码: https://www.mql5.com/ru/code/8068
交易订单历史图表
本脚本程序从交易历史中取得订单信息并在交易图表上设置箭头.
gpfTCPivotStopIt is realized by the Trade Sistem on breakdown of day time levels which pay off on indicator Pivot