MultiCharts Easylanguage Price Decimal Points - MultiCharts | futures io social day trading
futures io futures trading


MultiCharts Easylanguage Price Decimal Points
Updated: Views / Replies:1,030 / 3
Created: by thephantom 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
 

MultiCharts Easylanguage Price Decimal Points

  #1 (permalink)
Trading Apprentice
London
 
Futures Experience: Intermediate
Platform: MultiCharts, MT4, NinjaTrader
Favorite Futures: EUR/JPY
 
Posts: 3 since Feb 2015
Thanks: 2 given, 1 received

MultiCharts Easylanguage Price Decimal Points

Hello
I am writing a Signal in Easylanguage for MultiCharts - to use on JPY and USD pairs. When referencing Open and Close in my easylanguage code, it is only returning prices to two decimal points. e.g. 1.54 for GBP/USD whereas the price is 1.53819. Or for EUR/JPY 135.71 when the price is 135.714.

I obviously want to use the Open and Close reserved words when placing orders - if this is only specified to two decimal points, it could be disastrous.

The code is very simple:

 
Code
Alert(Text("Price is ", Open));
Buy ("Buy") 1 Contracts Next Bar at Market;
Sell ("Buy - Hit Stop Loss") From Entry ("Buy") Next Bar at Open stop;
Please help?

Thanks.

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

thephantom,

the signal will use whatever number of decimals are available. You only see two in the output because by default it's limited to two decimal. For the output you can easily add more decimal spaces. For your other computations this is not needed.

A numerical expression can be formatted to specify the minimum number of characters, including the decimal point, and the number of decimal places, to be used for the output:

Expression:C:E

Where: C - minimum number of characters
E - number of decimal places

This would display the text with three decimal places
 
Code
Alert(Text("Price is ", Open:0:3));
Regards,
ABCTG


thephantom View Post
Hello
I am writing a Signal in Easylanguage for MultiCharts - to use on JPY and USD pairs. When referencing Open and Close in my easylanguage code, it is only returning prices to two decimal points. e.g. 1.54 for GBP/USD whereas the price is 1.53819. Or for EUR/JPY 135.71 when the price is 135.714.

I obviously want to use the Open and Close reserved words when placing orders - if this is only specified to two decimal points, it could be disastrous.

The code is very simple:

 
Code
Alert(Text("Price is ", Open));
Buy ("Buy") 1 Contracts Next Bar at Market;
Sell ("Buy - Hit Stop Loss") From Entry ("Buy") Next Bar at Open stop;
Please help?

Thanks.


Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #3 (permalink)
Trading Apprentice
London
 
Futures Experience: Intermediate
Platform: MultiCharts, MT4, NinjaTrader
Favorite Futures: EUR/JPY
 
Posts: 3 since Feb 2015
Thanks: 2 given, 1 received


ABCTG
Thanks for the reply - I was concerned the Open and Close prices displayed in the Alert would be what was sent to the broker when orders were submitted. As you've stated, this is not the case, and it's simply a matter of display/formatting for the Alert text.

Thanks for your help and confirmation on how to get the decimal places displayed in the Alert.

Reply With Quote
The following user says Thank You to thephantom for this post:
 
  #4 (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

thephantom,

you are welcome.

Regards,

ABCTG

Reply With Quote

Reply



futures io > > > > MultiCharts Easylanguage Price Decimal Points

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
Pivot points - Multicharts georgex MultiCharts 9 July 14th, 2014 09:55 PM
Plot PIVOT POINTS as horizontal lines for trading sessions in MultiCharts virginiatrader The Elite Circle 7 June 22nd, 2013 04:28 PM
EUR/USD price decimal in functions LetmeInNow TradeStation 2 May 8th, 2013 01:49 AM
force decimal price marker display different than ticksize mea109 NinjaTrader Programming 8 September 26th, 2011 08:56 PM
Easylanguage : Decimal problem Ozons EasyLanguage Programming 3 February 13th, 2011 01:28 AM


All times are GMT -4. The time now is 02:01 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-12 in 0.08 seconds with 19 queries on phoenix via your IP 54.163.209.109