1. 首页
  2. 易语言 - EasyLanguage
  3. 设定分析技术,只能由某一人运行Restricting access to a person

设定分析技术,只能由某一人运行Restricting access to a person

本文描述如何实现让您的分析技术只能由某一个人来运行。This page describes how to restrict studies so that they can only be run by a particular person. To restrict your code fully you need to add this functionality and then see the Protecting EasyLanguage Code page.

You must ask the person for their login ID (the username that they log in to TradeStation with). This is usually different from the name that a person uses to log in to the TradeStation forums.

Vars:	CustomerName("JBLOGGS"); 
 
If GetScreenname = CustomerName then Begin 
           {all your code here} 
end;

Note that you put the customer’s name in a variable (not an input) and you put the begin…end loop around your entire code (except the Inputs: and Variables: declarations).

The customer’s name must be in CAPITALS.

更新于 2020年5月15日

这篇文章对您有帮助吗?

相关的话题

留言评论