Help | Contact | Try ProEdgeTrader now, it's free >
 

818 778 1760
US MAIN

800 222 6736
TOLL FREE

Open a Futures Trading Account
Download ProEdgeTrader Now
Open an Account
Request Remote Support
ProEdgeTrader Trading Video Tutorials
Trading Webinars
Contact Us
 

EasyLanguage Strategy Code Library

View EasyLanguage code for the following Strategies:

EasyLanguage Trading Strategy Template

Auto-Break Even Stop Loss

Auto-Trailing Stop Loss

Bollinger Bands Long Entry

Bollinger Bands Short Entry

MACD Long Entry

MACD Short Entry

Moving Average Strategy

Moving Average with Linear Regression Strategy

Momentum Long Entry

Momentum Short Entry

Moving Average Cross Long Entry

Moving Average Cross Short Entry

Parabolic Long Entry

Parabolic Short Entry

Profit Target

Percent Trailing Stop Loss

Simiple Buy/Sell template

Strategy Which Trades 7 Candlestick Patterns

Sound Alert When New Bar Opens on a Chart

Stop Loss

Various Stop Losses and Profit Targets

There are four reserved words you can use to express your trading ideas when writing
Trading Strategies. We refer to these words as trading verbs, and these are:

Trading Verb Description
Buy Cover all short positions and initiate a long position
Sell Cover all long positions and initiate a short position
ExitLong Close a long position
ExitShort Close a short position

Each one of these orders can have four different execution methods:
... this bar on close
... next bar at market
... next bar at price stop
... next bar at price limit

You can use four different execution methods with the Buy trading verb:
... this bar on close;
... next bar at market;
... next bar at price Stop;
... next bar at price Limit;

You can use four different execution methods with the trading verb Sell:
... this bar on close;
... next bar at market;
... next bar at price Stop;
... next bar at price Limit;

EasyLanguage code for Indicators
Click here to view code for various Indicators
http://lionsfutures.com/easylanguage_tutorials/easylanguage_library/easylanguage_indicators/

EasyLanguage code for PaintBars
Click here to view code for various PaintBar studies
http://lionsfutures.com/easylanguage_tutorials/easylanguage_library/easylanguage_paintbars/

EasyLanguage code for Strategies
Click here to view code for various Strategies
http://lionsfutures.com/easylanguage_tutorials/easylanguage_library/easylanguage_strategies/

Learn How to Create, Add and Edit Indicators, PaintBars and Strategies in the ProEdgeTrader
Click here to learn how to import EasyLanguage code into the ProEdgeTrader

< Return to EasyLanguage Code Library

 

This Page discusses how TradeStation EasyLanguage allows you to develop and implement custom indicators, paintbar studies and trading strategies. However, neither Lions Futures Management nor its affiliates provide or suggest any specific indicator, paintbar study or trading strategy. We offer unique tools to help you design indicators, paintbar studies and strategies and measure how they could have performed in the past. While we believe this is very valuable information, we caution you that simulated past performance of a trading strategy, indicator or paintbar is no guarantee of its future performance or success. We also do not recommend or solicit the purchase or sale of any particular futures contract or derivative products. Any indicators, paintbar studies or trading strategies referenced in this page are used only for the purposes of the demonstration, as an example, not a recommendation.

Please note that even though ProEdgeTrader has been designed to automate trading strategies, access to the Internet, real-time data, and trade servers may at times be delayed or even fail due to market volatility, quote delays, system and software errors, internet traffic, outages and other factors.

While every precaution has been taken in the preparation of this page, Lions Futures Management assumes no responsibility for error or omission, or for any damages resulting from the use of the information contained herein.

 

 
Risk Disclaimer: PAST RESULTS ARE NOT NECESSARILY INDICATIVE OF FUTURE RESULTS. BE ADVISED THAT THERE IS SUBSTANTIAL RISK OF LOSS WHEN INVESTING IN FUTURES AND DERIVATIVE MARKETS, INCLUDING MANAGED FUTURES, FUTURES OPTIONS, AND FOREX. NO SYSTEM OR CTA TRADING PROGRAM CAN GUARANTEE PROFITS OR FREEDOM FROM LOSS. THESE INVESTMENTS MAY NOT BE SUITABLE FOR ALL INVESTORS. Lions Futures is legally obliged to inform investors of a potential conflict of interest in recommending CTAs, given that Lions Futures is compensated through fees or commissions by CTAs. This material and any views expressed herein are provided for information purposes only and should not be construed in any way as an endorsement or inducement to invest in any specific program. Before investing in any program, you must obtain, read and examine thoroughly its disclosure document or offering memorandum. Any performance included herein is based upon information that has been compiled by Lions Futures.com from CTA disclosure documents and by third party independent CTA tracking services such as Barclay Group, Ltd., AutumnGold, CTA Research Corp., CTA Info, Institutional Advisory Services Group, and International Traders Research. All sources we use are free to the public. Such information has not been independently reviewed or audited by Lions Futures.com or its affiliates and therefore neither Lions Futures.com nor its affiliates make any representation as to its accuracy or completeness.