View Single Post
  #15 (permalink)  
Old 09-12-2009, 05:18 PM
kraspay kraspay is offline
Junior Member
 
Join Date: Mar 2009
Posts: 1
kraspay is on a distinguished road
Arrow Breakout EA

i want to provide EA from russians coders TEAM for testing and searching for new ideas.

best pairs: G/U, G/J

settings:
//time interval for calculating the high/low of the channel:
//start time (hours/mins)
Time_start_hour = 8;
Time_start_minute = 0;

//time before start (hours/mins)
Time_build_hour = 15;
Time_build_minute = 10;

//how much time to trade, after pending orders are deleted
extern int Trade_time = 3;

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

//trading days of week
extern bool Monday = true;
extern bool Tuesday = true;
extern bool Wednesday = true;
extern bool Thursday = true;
extern bool Friday = true;

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

//set 1st pending orders true/fasle
extern bool First_line_orders = true;
// ho many pips from the high/low of channel
extern int First_line = 20;

//set 2nd pending orders true/fasle
extern bool Second_line_orders = true;
// ho many pips from the 1st pending order
extern int Second_line = 50;

//set 3nd pending orders true/fasle
extern bool Third_line_orders = true;
// ho many pips from the 2st pending order

//size of lot
extern double С_Order_volume = 0.1;

//--------------------------------------------------------------------
// setting of channel high/low limit
extern int Min_width = 50;
extern int Max_width = 150;

//--------------------------------------------------------------------
// SL in % of channel width
extern int C_SL = 30;
// minimum SL (if "C_SL" < "C_SL_min", than "C_SL_min" = SL)
extern int C_SL_min = 15;

//--------------------------------------------------------------------
//choice of fixed TakeProfit or Tralling TP
extern bool TP_fiks_or_tral = true;
//fixed TP in pips
extern int TP_fiks = 50;
//------------
// tralling SL
extern int SL_tral = 15;
// tralling step
extern int Tralling_Step = 3;
//take profit for tralling order (as protection from disconnect), if =0 then not used.
extern int TP_tral = 100;
//--------------------------------------------------------------------
//method of increase the lot if the price goes in the right direction (true/false)
extern bool Add_mech = false;
//starting from high/low of channel in pips
extern int Add_start_level = 10;
//step of opening orders
extern int Add_step = 10;
//size of lot
extern double Add_volume = 0.1;
//sl for these orders
extern int Add_sl = 20;
// possible number of orders (of 0 = without limit)
extern int Add_count_stages = 1;
// number in pips of the drawdown. (if drawdown is more, then close all the previous orders)
extern int Add_prosadka = 3;
//--------------------------------------------------------------------
// slippage for all orders
extern int C_Slippage = 3;
//--------------------------------------------------------------------
// attempt to cut off the false breakdowns
extern bool l1 = false;
//sl
extern int l1_SL = 4;
//--------------------------------------------------------------------
//different levels of takeprofit (true/false)
extern bool s1 = false;
//opening order after 10 pips from the channel
extern int s_l1 = 10;
extern int s_l1_sl = 1;
//opening order after 30 pips from the channel
extern int s_l2 = 30;
extern int s_l2_sl = 15; //пунктов от цены
//opening order after 50 pips from the channel
extern int s_l3 = 50;
extern int s_l3_sl = 35;
//opening order after 70 pips from the channel
extern int s_l4 = 70;
extern int s_l4_sl = 40;
//opening order after 120 pips from the channel
extern int s_l5 = 120;
extern int s_l5_sl = 100;
//--------------------------------------------------------------------
Attached Images
File Type: jpg report.jpg (139.0 KB, 68 views)
Attached Files
File Type: set breakout_tralling_on.set (2.2 KB, 25 views)
File Type: ex4 breakout_v1_5(cashteam).ex4 (30.3 KB, 35 views)
Reply With Quote