Several Exits
Forums › ProRealTime English forum › ProOrder support › Several Exits
- This topic has 6 replies, 3 voices, and was last updated 7 years ago by GraHal.
-
-
03/07/2017 at 5:18 PM #27565
Hi,
I recently discovered this web and learning a lot with it, thank everybody for your contributions.
Trying to build an automatic trading myself I have a question: is it possible to defined a trade with several exits, for instance buy 2 shares and treat eachone with different profit targets?
Thanks a lot
03/10/2017 at 9:38 AM #2804203/10/2017 at 10:12 AM #28050I haven´t tried yet but I was thinking in trying with “if”, something like:
123456789IF XXXX THENSET STOP LOSS XELSESET STOP LOSS YENDIFCan something like than work?
Thanks
03/10/2017 at 10:19 AM #28051Sorry, I mixed things. The above is something I want to try also but what is relevant to this post is another thing I want to try, something like this:
12345IF (CLOSE-TRADEPRICE/TRADEPRICE) < XXSELL 1 SHARE AT MARKETELSIF (CLOSE-TRADEPRICE/TRADEPRICE) < YYSELL AT MARKETENDIFCan this work?
03/10/2017 at 11:56 AM #2807603/10/2017 at 12:49 PM #2808103/10/2017 at 1:14 PM #28084Why … it’s just an odd thing about PRT .. maybe it will one day, but not now.
If your code bought at 2 separate prices / conditions / times … for example 2 x 1 Lot … then I guess you could close as 1 x 1 lots and another 1 x 1 lot? But maybe Nicolas will say that can’t be done either??
Cheers
Grahal1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on