A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect() [mysqli.real-connect]: Headers and client library minor version mismatch. Headers:100613 Library:100505

Filename: mysqli/mysqli_driver.php

Line Number: 74

IS_LAST_ORDER | JedeyeForex


JedeyeFX Documentation



This function checks if there is only one open order left or not. It is mostly used in order closing conditions.

Parameters yes_no_option Set this parameter to YES if you want this to be true whenever there is only one order left opened. Set it to NO if you want the opposite.
Single-sided Yes
Example is_last_order(YES)!
This function, when added to another one, tells the expert advisor that this last one is true only if the there is just one order left.