Place text at order entry/exit bar - EasyLanguage Programming | futures io social day trading
futures io futures trading


Place text at order entry/exit bar
Updated: Views / Replies:852 / 2
Created: by ivanyu 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
 

Place text at order entry/exit bar

  #1 (permalink)
Trading Apprentice
Hong Kong
 
Futures Experience: Intermediate
Platform: NinjaTrader, MultiCharts
Favorite Futures: N225
 
Posts: 15 since Jul 2013
Thanks: 0 given, 0 received

Place text at order entry/exit bar

Hi,

I am new to EasyLanguage, I have some logic that determines when to long (as below), and would like to also place the entry price at that bar (since order label cannot be dynamic).

However, the text is placed on every bar after the condition is true, which makes me really puzzled

Order is not entered multiple times though.

Is that because my max position is 1?

Or somehow because Text_New is a series function?

Sorry if this sounds very primitive.

Thanks!



if Close crosses over UpperBand then
Buy ( "SVE Vol LE" ) next bar market ;
Value2 = Text_New(Date, Time, Low, NumToStr(EntryPrice, 0));

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,527 since Apr 2013
Thanks: 229 given, 853 received
Forum Reputation: Legendary


Hi ivanyu,

this is because the way your code is currently you allow for text printing on every bar. The condition is only valid for the long entry.
You need to slightly modify your code to

 
Code
if Close crosses over UpperBand then begin
Buy ( "SVE Vol LE" ) next bar market ;
Value2 = Text_New(Date, Time, Low, NumToStr(EntryPrice, 0));
end;
You will probably notice two things now:
1. the text will be printed every time the Close crosses over the Upperband. Depending on how many entries you allow in the same position that could mean more text than entries.
2. The text might not reflect the correct entry price as it is drawn when the order is send (meaning at this moment there is no way to know the exact entry price already).

To overcome both issues you could simply move the text drawing to another condition, which could either be a change in the Marketposition or a change in the number of shares/contracts that are currently open.

Regards,
ABCTG

Reply With Quote

Reply



futures io > > > > > Place text at order entry/exit bar

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inside Bar order entry chris2980 EasyLanguage Programming 3 September 25th, 2012 10:15 PM
a simple entry exit bar johni EasyLanguage Programming 7 July 23rd, 2011 05:34 AM
Viper has a "order entry strategy" that you can use to enter and exit. rcr3908 NinjaTrader 2 April 30th, 2011 06:20 PM
1 entry order 5 exit orders togier Traders Hideout 2 April 11th, 2011 04:27 AM
3 bar high/low entry maintain active order until 3 bar high/low in opposite direction mrticks NinjaTrader Programming 8 November 13th, 2009 08:44 PM


All times are GMT -4. The time now is 06:37 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-12 in 0.06 seconds with 19 queries on phoenix via your IP 54.145.51.250