AllPairTradeManager(APTM)

MPTM's new home
Post Reply
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

[Update!!]AllPairTradeManager(APTM)

Post by milanese »

march 4th,2015
the function that moves the SL if MoveSLOnlyIfWinis set to false, is recoded for avoiding with some settings strange behaviour, thanks to a spot from Over60 in addition using the HiddenPendingEA. No this function should work under all circumstanzes perfect.
You find the new version 2.07 (g) attached to first post.
Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
simcom
Trader
Posts: 17
Joined: Sat Jan 03, 2015 5:36 am
Location: UK

AllPairTradeManager(APTM)

Post by simcom »

Hi Tommaso

Thanks for this superb tool! Is it possible to specify a BE point in relation to R:R ratio instead of a fixed number of pips (for instance, could I get APTM to move my SL to BE when a 1:1 R:R has been achieved on every trade, even though the individual trades have different pip-sized SLs)?

Many thanks for your help.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

AllPairTradeManager(APTM)

Post by milanese »

simcom » Thu Mar 05, 2015 6:09 am wrote:Hi Tommaso

Thanks for this superb tool! Is it possible to specify a BE point in relation to R:R ratio instead of a fixed number of pips (for instance, could I get APTM to move my SL to BE when a 1:1 R:R has been achieved on every trade, even though the individual trades have different pip-sized SLs)?

Many thanks for your help.
This is already possible use for this the ATR feature and the ATR multiplicators here you can set the atrMultiplicatorForSLMinDistanceToPrice in the wished relation to the SL and TP multiplicator...

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
everell
Trader
Posts: 16
Joined: Sat Oct 11, 2014 11:07 am
Location: Italy

AllPairTradeManager(APTM)

Post by everell »

Ciao Tommaso,
great work but I have a problem with SL pips: the TP are correct as I set but the SL are regularly wrong, only if I choose 100 pips, in this particular case the EA works correctly
Also tried with ATR disabled but always same problem
TX
Enrico
everell
Trader
Posts: 16
Joined: Sat Oct 11, 2014 11:07 am
Location: Italy

AllPairTradeManager(APTM)

Post by everell »

Changed broker no problem at all, the EA works fine
Bah
Grazie lo stesso
Enrico
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

AllPairTradeManager(APTM)

Post by milanese »

everell » Tue Mar 10, 2015 2:44 pm wrote:Changed broker no problem at all, the EA works fine
Bah
Grazie lo stesso
Enrico
Ciao Enrico,

let me know if you will see again with your new broker problems with the SL and I will take a look into the code...
I am using the EA on GlobalPrime and some other brokers without any problems live..

saluti :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
secreted
Posts: 1
Joined: Fri Dec 05, 2014 11:46 am

AllPairTradeManager(APTM)

Post by secreted »

Hi Everybody!

I would like to ask milanese please add this feature to APTM.

I want to use "super trend correct" indicator for stop loss setting.
SuperTrend Correct.mq4


The default settings:
Nbr_Periods = 14
Multiplier = 2.618
Timeframe = 240

Thanks
You do not have the required permissions to view the files attached to this post.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

AllPairTradeManager(APTM)

Post by milanese »

secreted » Fri Mar 20, 2015 8:32 am wrote:Hi Everybody!

I would like to ask milanese please add this feature to APTM.

I want to use "super trend correct" indicator for stop loss setting.





The default settings:
Nbr_Periods = 14
Multiplier = 2.618
Timeframe = 240

Thanks
The problem is that maybe others want the xxx-indicator embedded for their SL-setting, others the yyy-indicator ecc.
You see what would happen?
If there will be some other users that like your idea I will re-think about this...


Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

[update!]AllPairTradeManager(APTM)

Post by milanese »

march 21th,2015
Added new optional to move SL to BE with the PartClose as firstTP independend of the SLMinDistanceToPrice
To use this optional (OOTB ist is deactivated) set SetBEonPartCloseFirstTP to true. Note you must have enabeled PartCloseAsFirstTP and PartClose in general must be enabeled..

This new function was from Over60 asked to add the flexibility of the EA, so that more trading styles can be adapted.. Thanks for your always interesting ideas Over60 :xm:

You find the new build 208 added on the first post, as always ask if some functions should be not clear, or if you miss a function you would find usefull...

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Over60
Trader
Posts: 153
Joined: Thu Sep 13, 2012 12:58 pm

AllPairTradeManager(APTM)

Post by Over60 »

Hi Milanese,

There is still a trade-manager function I miss, which was discussed years ago at FF.

Taken into account, that the critical part of an opened order is the trading hour at open, current volatility and trend direction. With the ATR-indi (set = 1), by live-trading, we can display the current and past volatility of the candles (price-action) in any timeframe, in addition we have to consider also the trend to designate and for confirmation of the price direction.

That is the daily and common scenario, we have to deal with by discrete trading, every day intraday and live.

However, if we use an automatic trade-manager in times of absence, we do not know the current market- resp. price-conditions, when the robot opens a position and performs stacking by default, we do not have a feedback if price-action seems to be stable and will continue.

There might be news or other events, the price-action will perform choppy.
In 70% of the market scenarios, we have to consider also consolidation periods with minor volatility and permanent slightly ranging movements, we also cannot predict in advance.
It is a another site to bother.
I´d like only remark, to omit trading hours (news, open), when we expect that price will move choppy or by spikes.

Back: Sometimes after opening the price will turn in the opposite direction.

The question in advance arise, what to do, when price turns just in time after opening?

Assuming that we use in the opening period a bigger lotsize with the intention to take partial close within a narrow/small distance and partial close did not perform.

What would we do by discrete trading?

We can hedge this position considering a floating loss or we can just in time take partial close < open to minimize/reduce the further risk and loss.

By using partial close in loss we will get the chance to reduce or to compensate the loss partly, we can close at BE or even in profit, if price turns by correction again in the order direction.
In the worst case, we will get closed this position in loss by SL, but we have already reduced in advance a bigger loss.

I tried to describe the basic scenario by using the HP, especially in regard to the PC-function with higher risk resp. lotsize, when the TM runs automatically. There are further conditions to consider, but that would be confusing.
I did not mentioned, that there are further possibilities e.g. with alarm alerts submitted to smartphone-app or via sms, email to close orders manually, when mobile.

Comments or questions are welcome…

@Milanese. Just thoughts, ideas, not an urgent request for future improvements.

Trade well friends
Over60
Post Reply

Return to “Utilities Indicators and Scripts”