Thread: How to code?
View Single Post
  #871 (permalink)  
Old 05-04-2008, 02:19 PM
birami birami is offline
Member
 
Join Date: Nov 2006
Posts: 31
birami is on a distinguished road
Quote:
Originally Posted by ak97052d View Post
hello
try this !
excuse me this expert sl have to using this formul for having profit result on thefix sl have bad result
order sl = ((MaxTrades*MinGS)+SL) - (n*MinGS)
exampel for this info
extern int MinGS=5;
extern int TP=20;
extern int SL=10;
extern double lot=0.10;
extern int MaxTrades=7;
extern int RegularSpread=2;
extern double Multiplier=2;
extern double LotInc=0;
extern double MarginLevelAlert=1000;

we have
first order sl= ((7*5)+10)-(0*5)=40
second order sl= ((7*5)+10)-(1*5)=35
and other sl are
35
30
25
20
15
Reply With Quote