Strategies are published here.

Moderator: admin


Postby Apprentice » Wed Nov 20, 2019 5:42 am

Based on request.

A simple alert that sends an email every time a position is opened with the symbol, lot size, open, limit, stop.

(29.57 KiB) Downloaded 90 times

There are some catches. FXTS2 order workflow create a trade without stop loss first. So, when the strategy detects a new trade there will be no stop and limit. They will be added one by one as a dedicated event. So, on creating single trade with stop and limit there will be several message. To avoid sending several emails I've added a 3 second delay. All these messages will be send in batches. This is the only working solution I came up with.
User avatar
FXCodeBase: Confirmed User
Posts: 25438
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 6 guests