Page 1 of 3

Set Stop Loss Take Profit For All

PostPosted: Thu Sep 24, 2020 2:50 am
by Apprentice
Based on TS2/Lua version.
viewtopic.php?f=17&t=65384
Set Stop Loss Take Profit For All.mq4
(20.79 KiB) Downloaded 744 times

Re: Set Stop Loss Take Profit For All

PostPosted: Wed Jan 13, 2021 9:00 am
by evansrono
Hi.

Please assist in creating an Stop Loss EA based on the following criteria:

Multiple entries placed at once, user able to specify the number of trades and TP target for each (with an option of not having a TP target, say having a zero value for example in a trending mkt).

When actual price reaches 1st TP target (Placed by user), activate stop loss at the break-even entry price of each trade in case price retraces. Your help is on this appreciated. Thanks.

Regards

Re: Set Stop Loss Take Profit For All

PostPosted: Thu Jan 14, 2021 3:56 am
by Apprentice
Your request is added to the development list.
Development reference 79.

Re: Set Stop Loss Take Profit For All

PostPosted: Sun Jan 17, 2021 12:37 pm
by optionhk
Apprentice wrote:Based on TS2/Lua version.
viewtopic.php?f=17&t=65384
Set Stop Loss Take Profit For All.mq4


Excellent EA.

Can you please modify this EA to act as an indicator for two purposes. Not for trading but to record statistics and show it moving dynamically currently.

1. To watch the trade visually in action like ADR MTF projection indicator moves trade dynamically. ADR MTF shows trade in action . Please show TP and SL pulling each other like your ADR MTF does visually so well.

2. Collect statistics by looking back at past trades and record this information based on user query.

Need following inputs
(a) TF - New
(b) Lookback - New
(c) Take Profit,Pips _ Already there Add a switch true/false. If false it will use (d)
(d) Stop Loss, Pips - Already there. Add a switch true/false. If false it will use (e)
(e) Take Profit, Minutes - New
(f) Stop Loss, minutes - New

Statistics needed for TP and SL in terms of Pips in Chart TF of 15 minutes (current TF)

Example 1 (for Pips) : I input TP 25 and SL 10 and want to know statistics for Longs and Shorts separately

Count how many times TP size of 25 hit and how many times it failed or hit SL

Example 2 (for minutes) I input TP 5 minutes and SL 10 minutes and want to know statistics forLongs and Shorts separately

Count how many times TP size of 5 minutes hit and how many times it failed or hit SL of 10 minutes.

Re: Set Stop Loss Take Profit For All

PostPosted: Sun Jan 17, 2021 9:20 pm
by fx1079
Apprentice wrote:Based on TS2/Lua version.
viewtopic.php?f=17&t=65384
Set Stop Loss Take Profit For All.mq4

Hello sir, i think you've forgot to include this line in the custom indicator
Code: Select all
#property indicator_chart_window

Re: Set Stop Loss Take Profit For All

PostPosted: Wed Jan 20, 2021 1:20 pm
by yolerap
Hello,

Is exist one EA set one stop or take profit at the same distance as soon as one stop or take profit is manualy put?

Re: Set Stop Loss Take Profit For All

PostPosted: Thu Jan 21, 2021 3:18 pm
by Apprentice
Your request is added to the development list.
Development reference 113.

Re: Set Stop Loss Take Profit For All

PostPosted: Sun Feb 14, 2021 9:53 am
by Apprentice
Task 79
Try this version.
viewtopic.php?f=38&t=70922

Re: Set Stop Loss Take Profit For All

PostPosted: Mon May 24, 2021 5:18 am
by evansrono
Hi,

Thankyou. Is it possible to change the Take Profit and Stop Loss pips/points to Price values for that particular currency pair.

Regards

Re: Set Stop Loss Take Profit For All

PostPosted: Tue May 25, 2021 4:03 am
by Apprentice
Your request is added to the development list.
Development reference 509.