NexusFi: Find Your Edge


Home Menu

 





Trailing Stop Limit In EasyLanguage


Discussion in EasyLanguage Programming

Updated
    1. trending_up 2,510 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread

Trailing Stop Limit In EasyLanguage

  #1 (permalink)
 gftrader 
Cleveland, Ohio
 
Experience: Advanced
Platform: Tradestation
Trading: Futures
Posts: 14 since Aug 2022
Thanks Given: 6
Thanks Received: 3

Has anyone successful coded a trailing stop limit order in EasyLanguage? I have been messing around with it trying to code a trailing stop limit that would implement a $10 trailing stop limit order with each open position.

Just figured I would ask! I am going to continue to try figuring this out.

Thanks!

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
use extra computer for optimisation
NinjaTrader
REcommedations for programming help
Sierra Chart
MC PL editor upgrade
MultiCharts
 
  #2 (permalink)
Shaban
Turin + Italy
 
Posts: 194 since Feb 2020
Thanks Given: 24
Thanks Received: 129

Try to see if this can help you:



Inputs: StopRev(10);

If MarketPosition = 1 then Sell next bar at entryprice+(StopRev) limit;

If MarketPosition = -1 then Buytocover next bar at entryprice-(StopRev) limit;

Reply With Quote
Thanked by:




Last Updated on August 18, 2022


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts