GLOBAL_PROFIT

JedeyeFX Documentation

shp.png

GLOBAL_PROFIT

This function gets the current global profit (total profit) of all currently open orders. It is useful if you want some event to be triggered only if the profit is above or below a certain level.

Syntax
global_profit()
Parameters None
Single-sided No
Example global_profit()>VAL(25.5)
This example means that the total profit of all opened orders should be superior to 25.5 in order to all the previous conditions (if present) be considered true.