Add a basic trailing stop to my NT8 program

Job ID: 33569931

Budget: €8 – €30 EUR

Hello fellow coders, I need a simple trailing stop added to my NT8 strategy. The concept is simple:

when in profit of X points, the trailing stop start:

move the stoploss +Y points and repeat it each X points move
each X points, the stoploss move favourable of its current level +Y points

Should work for long and short orders.

The code will be attached upon discussion. Thanks.
Related categories: C++ Programming Trading