Take profit and pip value - EasyLanguage Programming | futures io social day trading
futures io futures trading


Take profit and pip value
Updated: Views / Replies:1,068 / 4
Created: by sistemafuso 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
 

Take profit and pip value

  #1 (permalink)
Trading Apprentice
verona veneto italy
 
Futures Experience: Intermediate
Platform: TradeStation pyton matlab jforex
Favorite Futures: fx
 
Posts: 1 since May 2015
Thanks: 1 given, 0 received

Take profit and pip value

Hy guys!

I am new in this forum and I am basically new in easylanguage programming (trying to learn as a self-taught) so take patience if my questions are silly.
I am building a very easy TS which basically is recognising engulfing pattern and placing a sell limit oder on L[1].
I arbitrarily put 40 pips as TP but the Tradestation seams to forget to take the profit and is gonna close my open position just when another pattern is recognise or whe the SL is touched.
Everytime my condition is realize even though the price move way more than 40 pips the Tradestation doesn't close the position.
I've realized that if the TP is right after the candle with enter order the Tradestation is actually going to close the position correctly.

Here the code:


Quoting 
Variable: prezzo_stop(0),prezzo_take(0);
inputip_tp(40);

if close[1]> open[1] and close [0] < open [0] and C <l[1] and h>h[1] then begin

Sellshort next bar at l[1] limit;
prezzo_stop=h[0];
prezzo_take=(h[0]-l[1]);
SetProfitTarget (((bigpointvalue/1000)*10*pip_tp));

end;


Buytocover ("Loss")next bar at prezzo_stop stop ;


Thanks for your help.
Ah sorry for the really brutal english I have but I am from Italy where unfortunately there is no real possibility to learn this programming language.

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)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 854 received
Forum Reputation: Legendary


sistemafuso,

don't place the Take Profit reserved word within your entry condition, this will likely lead to the situation that's only active during bars where the condition is fulfilled.
You should also read up about the SetStopPosition reserved word in the Tradestation help. To make sure that you correctly base the take profit on either the entire position or not.

Regards,
ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #4 (permalink)
Trading Apprentice
Saint Joseph, Michigan
 
Futures Experience: Advanced
Platform: TradeStation
Favorite Futures: Forex
 
Posts: 7 since Jul 2014
Thanks: 2 given, 2 received

Is this for advanced charts or timebased charting?

doji

Reply With Quote
 
  #5 (permalink)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 661 received


dojirock View Post
Is this for advanced charts or timebased charting?

If "this" is the `SetProfitTarget` keyword mentioned in the first post, then yes, this works on any chart. If "this" is referring to ABCTG's post, then yes, this works on any chart irrespective of the time frame.

Reply With Quote

Reply



futures io > > > > > Take profit and pip value

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
IB Pip/point/qty? Joseph689 Reviews of Brokers and Data Feeds 4 February 22nd, 2015 06:10 PM
What is 1 pip ( tick ) worth mdsvtr Currency Futures 8 November 8th, 2014 01:48 PM
Showing candle in full pip themchose Sierra Chart 3 January 15th, 2012 10:58 PM
Lowest cost per pip alpine4133 Traders Hideout 0 September 12th, 2009 11:35 PM


All times are GMT -4. The time now is 12:43 AM.

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-14 in 0.08 seconds with 19 queries on phoenix via your IP 54.221.93.187