Placing a floor using fixed trailing stop - EasyLanguage Programming | futures trading

Go Back

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

Placing a floor using fixed trailing stop
Started:July 13th, 2011 (12:10 AM) by RM99 Views / Replies:2,257 / 2
Last Reply:July 13th, 2011 (12:13 AM) Attachments:0

Welcome to

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

Placing a floor using fixed trailing stop

Old July 13th, 2011, 12:10 AM   #1 (permalink)
Fortitudo et Honor
Austin, TX
Futures Experience: Advanced
Platform: TradeStation
Favorite Futures: Futures
Posts: 882 since Mar 2011
Thanks: 128 given, 700 received

Placing a floor using fixed trailing stop

I'm trying to place a floor amount (activation level) using a fixed trailing stop.

the setpercenttrailing feature allows this, but you have to use a percent based trail (that's variable based on the positionprofit amount and retracement).

I'd like to be able to set an activation level for the trail, but used a fixed trail (setdollartrailing).

If I use a statement like this...

If positionprofit > 100, then begin

It activates the floor fine, but if price barely moves above my activation level and then retraces, the if then is no longer valid and the trail goes away.

Any help?

"A dumb man never learns. A smart man learns from his own failure and success. But a wise man learns from the failure and success of others."
Reply With Quote

Old July 13th, 2011, 12:10 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 July 13th, 2011, 12:13 AM   #3 (permalink)
Site Administrator
Manta, Ecuador
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
Big Mike's Avatar
Posts: 45,433 since Jun 2009
Thanks: 28,836 given, 79,565 received

flag1 (false);

if marketposition = 0 then flag1 = false;

if positionprofit > 100 then flag1 = true;

if flag1 then begin


Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following 3 users say Thank You to Big Mike for this post:

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > EasyLanguage Programming > Placing a floor using fixed trailing stop

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

An Afternoon with FIO trader bobwest

Elite only

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
Limit Order and Trailing Stop Tiger45 NinjaTrader Programming 7 May 9th, 2013 05:57 AM
Trailing stop following an indicator nanobiotech NinjaTrader Programming 9 October 3rd, 2011 09:50 AM
Trailing Stop Loss and Reverse shergenr NinjaTrader Programming 3 March 1st, 2011 10:05 AM
Trailing stop loss kavin729 NinjaTrader Programming 1 August 20th, 2010 01:17 PM
Redeclaring a dataseries to use as a trailing stop Davidnmfarrell NinjaTrader Programming 5 April 26th, 2010 12:54 PM

All times are GMT -4. The time now is 04:17 PM.

Copyright © 2016 by 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-24 in 0.07 seconds with 19 queries on phoenix via your IP