Jump to content

Can someone please add SL and TP levels to this EA?


Recommended Posts

  • 1 month later...

please post the indicators...

 

and btw:

it already has sl / tp

but some of it is hidden...

 

you need to add the word "extern" before the lines that start with == below

i.e.

extern bool...

extern int ...

 

hit F5, and check the settings again.

don't have the settings open when you are making the changes....

 

look for this: ---------------- TP SL TS BE

 

extern string TSTB="---------------- TP SL TS BE";

== bool RealSL_Enabled=false;

== int RealSL=5; //stop loss under 15 pîps

== bool RealTP_Enabled=false;

== int RealTP=10; //take profit under 10 pîps

extern int SL=0; //stop loss

extern bool UseFractalsSL=true;

extern int TP=0; //take profit

extern int TS=0; //trailing stop

extern bool UseFractalsTS=true;

== int TS_Step=1; //trailing step

extern int BE=0; //breakeven

 

i.e. after, it should look like this:

extern string TSTB="---------------- TP SL TS BE";

extern bool RealSL_Enabled=false;

extern int RealSL=5; //stop loss under 15 pîps

extern bool RealTP_Enabled=false;

extern int RealTP=10; //take profit under 10 pîps

extern int SL=0; //stop loss

extern bool UseFractalsSL=true;

extern int TP=0; //take profit

extern int TS=0; //trailing stop

extern bool UseFractalsTS=true;

extern int TS_Step=1; //trailing step

extern int BE=0; //breakeven

 

give it a bash... let me know how you get on...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...