exitprice doesn’t exist, as there are other ways to exit a trade:
SELLor EXITSHORTto exit a Longor Shorttrade at market (when a candle closes);
SELL AT myExitPrice STOP/LIMITor EXITSHORT ATmyExitPriceSTOP/LIMITif you prefer to exit exactly at a price (use STOPor LIMITaccording to where the current price is sitting compared to myExitPrice);
usingSET STOP PRICEmyExitPrice or SET TARGET PRICEmyExitPrice.
Bear that there is no guarantee that the exit price will exactly mirror CLOSE, due to slippage that may occur at anytime.
Only post in the language of the forum that you are posting in. For example English only in the English speaking forums and French only in the French speaking forums. Thanks 🙂
Please be aware that TradePrice is given from indeed the last TradePrice. This can also be an Entry. As far as I recall it even can be a lastly set Limit or Stop Price (not Target or StopLoss). Thus in brief, it goes like this :
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue