Trailing Stop Strat Pivots - EasyLanguage Programming | futures io social day trading
futures io futures trading


Trailing Stop Strat Pivots
Updated: Views / Replies:1,348 / 5
Created: by greenroomhoo Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Trailing Stop Strat Pivots

  #1 (permalink)
Elite Member
annapolis USA
 
Futures Experience: Intermediate
Platform: Ninja, MC, Sierra, Amibroker
Broker/Data: PFG (too bad), IB, Fidelity, AMP
Favorite Futures: ES, NQ, Equities, Forex, Etc.
 
greenroomhoo's Avatar
 
Posts: 276 since Jun 2011
Thanks: 107 given, 225 received

Trailing Stop Strat Pivots

has anyone seen code for an easylanguage trailing stop based on pivots. That is the stops move up as each new price pivot is formed?

thanks

Reply With Quote
 
  #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.

 
  #3 (permalink)
Elite Member
near Paris, France
 
Futures Experience: Beginner
Platform: -
Favorite Futures: -
 
Nicolas11's Avatar
 
Posts: 1,070 since Aug 2011
Thanks: 2,232 given, 1,729 received


Hi,

It is not so difficult to code by using MultiCharts Pivot.

What is exactly your problem?

Nicolas

Envoyé depuis mon GT-I9100 avec Tapatalk

Reply With Quote
 
  #4 (permalink)
Elite Member
annapolis USA
 
Futures Experience: Intermediate
Platform: Ninja, MC, Sierra, Amibroker
Broker/Data: PFG (too bad), IB, Fidelity, AMP
Favorite Futures: ES, NQ, Equities, Forex, Etc.
 
greenroomhoo's Avatar
 
Posts: 276 since Jun 2011
Thanks: 107 given, 225 received

i probably could figure it out but why reinvent the wheel if someone else already has :-)




Nicolas11 View Post
Hi,

It is not so difficult to code by using MultiCharts Pivot.

What is exactly your problem?

Nicolas

Envoyé depuis mon GT-I9100 avec Tapatalk


Reply With Quote
 
  #5 (permalink)
Elite Member
near Paris, France
 
Futures Experience: Beginner
Platform: -
Favorite Futures: -
 
Nicolas11's Avatar
 
Posts: 1,070 since Aug 2011
Thanks: 2,232 given, 1,729 received

You could play around
 
Code
if MarketPosition = 1 {currently long} then
   sell next bar at SwingLow(1 {first}, Low, 2 {strength on both left and right sides}, 50 {lookback}) stop;
Nicolas

Reply With Quote
 
  #6 (permalink)
Elite Member
annapolis USA
 
Futures Experience: Intermediate
Platform: Ninja, MC, Sierra, Amibroker
Broker/Data: PFG (too bad), IB, Fidelity, AMP
Favorite Futures: ES, NQ, Equities, Forex, Etc.
 
greenroomhoo's Avatar
 
Posts: 276 since Jun 2011
Thanks: 107 given, 225 received

you shamed me into it. here is the language i came up with that seems to be working just fine. LongPivotStop and ShortPivotStop variables need to be intrabarpersist types when defined in your code.

//Long Stop Language
Condition3 = PivotLowVSBar( 1, Price, LeftStrength, RightStrength, RightStrength + 1 ) <> -1 ;
if marketposition = 0 and condition3 then longpivotstop = Price[LeftStrength];
if marketposition = 1 and condition3 and Price[Leftstrength]>Longpivotstop then LongPivotStop = Price[LeftStrength];
if marketposition = 1 then begin
Sell ( "Pivot LX" ) next bar at LongPivotStop stop;
end;

//Short Stop Language
Condition4 = PivotHighVSBar( 1, Price, LeftStrength, RightStrength, RightStrength + 1 ) <> -1 ;
if marketposition = 0 and condition4 then shortpivotstop = Price[LeftStrength];
if marketposition = -1 and condition4 and Price[Leftstrength]<shortpivotstop then shortPivotStop = Price[LeftStrength];
if marketposition = -1 then begin
Buytocover ( "Pivot SX" ) next bar at shortPivotStop stop;
end;

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

Reply



futures io > > > > > Trailing Stop Strat Pivots

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
trailing stop or fixed? mannya Psychology and Money Management 16 July 30th, 2015 03:59 AM
Stop limit orders in MC strat aczk EasyLanguage Programming 13 June 19th, 2012 07:57 AM
Trailing stop following an indicator nanobiotech NinjaTrader Programming 9 October 3rd, 2011 10:50 AM
Trailing stop loss kavin729 NinjaTrader Programming 1 August 20th, 2010 02:17 PM
Redeclaring a dataseries to use as a trailing stop Davidnmfarrell NinjaTrader Programming 5 April 26th, 2010 01:54 PM


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

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@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 2017-12-18 in 0.10 seconds with 19 queries on phoenix via your IP 54.221.136.62