NexusFi: Find Your Edge


Home Menu

 





Easy Language To Shut Down Code in Future


Discussion in EasyLanguage Programming

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




 
Search this Thread

Easy Language To Shut Down Code in Future

  #1 (permalink)
 20YRTRADER 
Atlanta, GA/USA
 
Experience: Advanced
Platform: Ninja Trader & TradeStation
Broker: TradeStation
Trading: Crude Oil, Dow
Posts: 7 since Sep 2015
Thanks Given: 2
Thanks Received: 0

I wanted to share a Strategy I have worked on over the years with a fellow trader. I only wanted it to work for a short period of time and would have a password on EL access. I remember I was told once that there is an EL statement that you can put at the bottom that reads the date and if the date has passed, the Strategy will not execute any signals.

Can anyone provide an example?

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Request for MACD with option to use different MAs for fa …
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
ZombieSqueeze
Platforms and Indicators
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
Battlestations: Show us your trading desks!
48 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #3 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,645 since Jul 2012
Thanks Given: 1,890
Thanks Received: 7,336



20YRTRADER View Post
I wanted to share a Strategy I have worked on over the years with a fellow trader. I only wanted it to work for a short period of time and would have a password on EL access. I remember I was told once that there is an EL statement that you can put at the bottom that reads the date and if the date has passed, the Strategy will not execute any signals.

Can anyone provide an example?

Let's say you wanted it to stop Feb 1, 2020

If date<1200201 then begin

//all your buy and sell code

end;

//extra code just in case there are open positions on Feb 1,2020

If date>1200201 then begin

sell next bar at market;
buytocover next bar at market;

end;



Note that even if you protect the code before you send it, the protection is weak and easily hackable...

Follow me on Twitter Reply With Quote
The following user says Thank You to kevinkdog for this post:
  #4 (permalink)
 20YRTRADER 
Atlanta, GA/USA
 
Experience: Advanced
Platform: Ninja Trader & TradeStation
Broker: TradeStation
Trading: Crude Oil, Dow
Posts: 7 since Sep 2015
Thanks Given: 2
Thanks Received: 0

Kevin: Even if I use a real long password and really mix it up? I read a few articles on how to design very hard to break passwords. I have rented a TradeStation system in the past and I couldn't use it after a short period of time - say 30 days. I am sure the owner of the code used a statement like yours. Do all of these TS/EL strategy designers sell their system at high risk of them being stolen? Thanks in advance for your help. John

Started this thread Reply With Quote
  #5 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,645 since Jul 2012
Thanks Given: 1,890
Thanks Received: 7,336


20YRTRADER View Post
Kevin: Even if I use a real long password and really mix it up? I read a few articles on how to design very hard to break passwords. I have rented a TradeStation system in the past and I couldn't use it after a short period of time - say 30 days. I am sure the owner of the code used a statement like yours. Do all of these TS/EL strategy designers sell their system at high risk of them being stolen? Thanks in advance for your help. John

There is a website that will decrypt ANY locked Tradestation code, unless it is from the Tradestation Network or App Store. I don't think password complexity has any bearing on it.

Follow me on Twitter Reply With Quote
The following 2 users say Thank You to kevinkdog for this post:





Last Updated on February 14, 2020


© 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