• 概述
  • 评论
  • 评论 (21)
  • 新特性

Expert PitBull

The PitBull is an Expert Advisor for trading on Renko charts

For testing, we used a brick the size of 100 points for the 5-digit quotes and 10 points for the 4-digit ones.

The Expert Advisor trades only after the confirmation signal to buy or sell, that is waiting for the closing Renko candles. The EA simultaneously uses 4 entry strategies, and it can open 3 orders on a signal in the same direction with different StopLoss, TakeProfit and TrailingStop.

Testing has been performed with opening 1 order per direction.

Attention! See the "Comments" on how to test the EA correctly. The EA is designed for working on Renko charts. Testing must be performed on Renko charts only.

Attention! The EA uses global variables during testing. Once the testing is over, delete the global variables starting with "PitBull" before attaching the EA to the chart for trading, use the F3 key. The global variables are used to provide the stability of the EA operation during short-term reboots pf the VPS or computer. You can safely turn off the computer over the weekends. The EA also uses a complex system for distinguishing its orders, therefore it is not recommended to use it together with other experts on the account.

Recommended currency pairs: EURUSD, GBPUSD, USDCHF, USDJPY, AUDUSD and USDCAD.


Parameters

  • sNameExpert - EA name;
  • MAGIC1 - magic number of orders;
  • dTrade1 - open the first order or not;
  • dTrade2 - open the second order or not;
  • dTrade3 - open the third order or not;
  • dBuyStopLossPoint1 - StopLoss for the first Buy order, not used by default;
  • dSellStopLossPoint1 - StopLoss for the first Sell order, not used by default;
  • dBuyTakeProfitPoint1 - TakeProfit for the first Buy order, default is 100 points for 5-digit quotes and 10 points for 4-digit quotes;
  • dSellTakeProfitPoint1 - TakeProfit for the first Sell order, default is 100 points for 5-digit quotes and 10 points for 4-digit quotes;
  • dBuyTrailingStopPoint1 - TrailingStop for the first Buy order, not used by default;
  • dSellTrailingStopPoint1 - TrailingStop for the first Sell order, not used by default;
  • dBuyStopLossPoint2 - StopLoss for the second Buy order, not used by default;
  • dSellStopLossPoint2 - StopLoss for the second Sell order, not used by default;
  • dBuyTakeProfitPoint2 - TakeProfit for the second Buy order, not used by default;
  • dSellTakeProfitPoint2 - TakeProfit for the second Sell order, not used by default;
  • dBuyTrailingStopPoint2 - TrailingStop for the second Buy order, not used by default;
  • dSellTrailingStopPoint2 - TrailingStop for the second Sell order, not used by default;
  • dBuyStopLossPoint3 - StopLoss for the third Buy order, not used by default;
  • dSellStopLossPoint3 - StopLoss for the third Sell order, not used by default;
  • dBuyTakeProfitPoint3 - TakeProfit for the third Buy order, not used by default;
  • dSellTakeProfitPoint3 - TakeProfit for the third Sell order, not used by default;
  • dBuyTrailingStopPoint3 - TrailingStop for the third Buy order, not used by default;
  • dSellTrailingStopPoint3 - TrailingStop for the third Sell order, not used by default;
  • dLots - number of lots;
  • dLotsPercent - money management. If True, lot percent of the deposit is used, set by Percent parameter. If False, a fixed lot set in dLots parameter is used.
  • Percent - percent of the deposit to determine the lot. Percent = 1, the deposit 1 000, lot 0.1, deposit 100, lot 0.01, and so on;
  • nSlippage - maximum allowed deviation of the price for market orders (buy or sell orders);
  • lFlagUseHourTrade - trade restriction by the time of day, not used by default;
  • nFromHourTrade - trading start;
  • nToHourTrade - trading end;
  • lFlagUseSound - use sound notifications;
  • sSoundFileName - sound notification file;
  • colorOpenBuy - Buy order open color;
  • colorCloseBuy - Buy order close color;
  • colorOpenSell - Sell order open color;
  • colorCloseSell - Sell order close color.
无评论
版本 1.1 - 2016.12.13
Fixed Trailing Stop.