Utilizing Multiple Stops - EasyLanguage Setstoploss Setpercenttrailing - EasyLanguage Programming | futures.io
futures.io futures trading

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > EasyLanguage Programming

Utilizing Multiple Stops - EasyLanguage Setstoploss Setpercenttrailing
Started:March 26th, 2015 (11:51 AM) by bfiselin Views / Replies:812 / 2
Last Reply:March 27th, 2015 (10:36 AM) Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Utilizing Multiple Stops - EasyLanguage Setstoploss Setpercenttrailing

Old March 26th, 2015, 11:51 AM   #1 (permalink)
Trading Apprentice
Cleveland Ohio
Futures Experience: Intermediate
Platform: Tradestation
Favorite Futures: Stocks
Posts: 1 since Mar 2015
Thanks: 0 given, 0 received

Utilizing Multiple Stops - EasyLanguage Setstoploss Setpercenttrailing

I am new to tradestation and to easy language and I am trying to set up some stops in my strategy. What I would like to have happen is for a stop to be set when I enter a trade as a stop loss then if a trade begins to show a profit I want to change this to a percent trailing stop that tightens as the profit increases. I am sure it has something to do with the way the language executes the code but I can't figure it out how to do it. Do I need some sort of If statement?

When I do this the only thing that seems to happen is the stop loss: I was expecting that the stops would override the previous ones as they became valid but that is not the case when I backtest it. I truly appreciate any help anyone can provide as I'm sure I'm probably going about this the wrong way.


Reply With Quote

Old March 26th, 2015, 11:51 AM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Old March 27th, 2015, 10:36 AM   #3 (permalink)
 Vendor: abctradinggroup.com 
Hamburg Germany
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
Posts: 1,109 since Apr 2013
Thanks: 188 given, 624 received


I don't think more than one SetPercentTrailing reserved word can actually be active in the code. What might work is changing the amounts or percentages when certain conditions trigger.


Reply With Quote


futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > EasyLanguage Programming > Utilizing Multiple Stops - EasyLanguage Setstoploss Setpercenttrailing

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setstoploss & Setprofittarget eddysmc MultiCharts 3 November 11th, 2013 02:48 PM
Stopping SetStopLoss fineyfam MultiCharts 1 July 10th, 2012 04:54 AM
Good resource for easylanguage coding in strategies (trailing stops/ b/e etc.) greenroomhoo MultiCharts 9 February 3rd, 2012 08:03 AM
HOW!!?? Turn SetStopLoss into a ExitLongLimit Trader.Jon NinjaTrader Programming 2 March 26th, 2011 11:38 AM
Stops, trailing and breakeven stops jonc NinjaTrader 4 November 9th, 2010 12:06 AM

All times are GMT -4. The time now is 07:11 PM.

Copyright © 2016 by futures.io. 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.
no new posts

Page generated 2016-10-26 in 0.08 seconds with 19 queries on phoenix via your IP