View Single Post
  #27 (permalink)  
Old 09-29-2008, 11:02 AM
tcl's Avatar
tcl tcl is offline
Member
 
Join Date: Apr 2008
Posts: 87
tcl is on a distinguished road
Code:
//TakeProfit
extern string  TakeProfitExp = "<<< Take Profit (& StopLoss for S&R)>>>";
extern string  TakeProfit_note = "0=No TP,  1=Multiple of SL,  2=Fixed TP Pips 3=Use S&R";
extern int     TakeProfit_Method = 0;
extern double  TP_Multiple = 1.8;
extern int     Fixed_TP = 150;
extern string  AboutSRMODE = "--- S&R Mode Setting ---";
extern double  SR_Multiple = 0.8;
extern double  TPvsSL_Ratio = 0.8;

//Trailing Stop
extern string  TrailMethodExp = "<<< Trailing Stop Method >>>";
extern string  Trail_Method_note = "0=Trail_OFF, 1=ATR_Mode, 2=FixPips_Mode, 3=Profit_Mode";
extern int     TRAIL_Method = 1;

extern string  AboutTrail_Method1 = "--- 1. You can change Trailing ATR Multiple ---";
extern double  Trail_ATR = 0.7;
extern string  AboutTrail_Method2 = "--- 2. You can change Trailing Pips ---";
extern int     Trail_Pips = 200;
extern string  AboutTrail_Method3 = "--- 3. You can change Trailing Profit to Reserve ---";
extern double  Profit_to_Reserve = 0.2;
hi latimeria...

can you explain your "TAKE PROFIT" and "TRAILING STOP" code above ??

thanks
Reply With Quote