Easy Language Syntax Error - EasyLanguage Programming | futures io social day trading
futures io futures trading


Easy Language Syntax Error
Updated: Views / Replies:320 / 3
Created: by Warmachine 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
 

Easy Language Syntax Error

  #1 (permalink)
Elite Member
Liberty Hill TX/US
 
Futures Experience: Intermediate
Platform: Stage 5
Broker/Data: Stage 5
Favorite Futures: ES,CL
 
Warmachine's Avatar
 
Posts: 9 since Aug 2016
Thanks: 3 given, 8 received

Easy Language Syntax Error

A brief bit of history before I get to my problem. I moved brokers from Tradestation to Stage 5. I am on a quest to move a few indicators from Tradestation to Stage 5 and have recently had a bit of luck. After finding out that Stage 5 is an Open E Cry platform I became aware the OEC understands most of Easy language. I have successfully imported 2 indicators and still have a few to go. On the others however I am getting a syntax error and need a bit of help.

Here are the details of the problem. I import by simply copying the Easy language and then "compile" (which is the same as "verify" in Tradestation). At which point it will pull up errors. I get the following error

Syntax error: lpar expected

When I double click the error my cursor is put in front of "plotpb" reserved word. I know this means plot paintbar. I am guessing in the code it is referencing a paint bar that Tradestation already understands but OEC doesn't know what to make of it or there is some sort of punctuation type error. I do know that "plotpb" is in BLUE meaning it recognizes it as an Easy language reserved word as it should. So there is my problem and where I need some folks from FIO to help. Your time and effort is much appreciated in advance and I will give additional information if anyone needs clarification in order to assist.

Last I have already tried the C# translator tool, typed "plotpaintbar", which seemed could be obvious easy fixes, without any success. I am now convinced I need a Easy Language knowledgeable person to solve my Error.


Sent from my iPhone using futures.io mobile app

Anything worth doing is worth overdoing, moderation is for cowards
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,604 since Apr 2013
Thanks: 242 given, 896 received
Forum Reputation: Legendary

Warmachine,

"plotPB" is the EasyLanguage reserved word for a paint bar, which usually consists of four individual plots (rarely just two). If your software doesn't recognize it, you might be able to create the same effect with four separate plots: One that plots the Open, the High, the Low and Close.
You probably have to format them in the indicator properties to something what is called (Left Tick in TS for the Open plot, Bar High and Bar Low for High and Low and Right Tick for the Close). Otherwise they might just plot straight lines.

Regards,

ABCTG

Reply With Quote
 
  #3 (permalink)
Elite Member
Liberty Hill TX/US
 
Futures Experience: Intermediate
Platform: Stage 5
Broker/Data: Stage 5
Favorite Futures: ES,CL
 
Warmachine's Avatar
 
Posts: 9 since Aug 2016
Thanks: 3 given, 8 received



ABCTG View Post
Warmachine,

"plotPB" is the EasyLanguage reserved word for a paint bar, which usually consists of four individual plots (rarely just two). If your software doesn't recognize it, you might be able to create the same effect with four separate plots: One that plots the Open, the High, the Low and Close.
You probably have to format them in the indicator properties to something what is called (Left Tick in TS for the Open plot, Bar High and Bar Low for High and Low and Right Tick for the Close). Otherwise they might just plot straight lines.

Regards,

ABCTG

below is the line of code the error occurs. my cursor jumps between plotpb and the bracket --->plotpb[ <--- shown here when I double click the error.

plotpb[highBarsAgo](H[highBarsAgo],L[highBarsAgo],"",sellColor);
alert("Scalper Sell");

I don't know what to put based on your previous post. I need things spelled out, so to speak, when I comes to coding.

Anything worth doing is worth overdoing, moderation is for cowards
Reply With Quote
 
  #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,604 since Apr 2013
Thanks: 242 given, 896 received
Forum Reputation: Legendary

Warmachine,

your code snippet it the paint bar consists of two values - the high and the low. Based on what I wrote above you would have to turn this into two separate plots (Plot1 and Plot2 for example), where one plots the value of H[highBarsAgo] and the second one the value of L[highBarsAgo].

In Tradestation you'd have to format the first plot to be of the style "Bar High" (and not a cross, dot or line) and the second one to "Bar Low". Settings these two formats will tell TS to draw a bar using the two values for the High and Low. I don't know how you format the plots within OEC, so I am afraid I can't help you with that.

Regards,

ABCTG

Reply With Quote

Reply



futures io > > > > > Easy Language Syntax Error

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

CME Group: Futures & Bitcoin

Elite only

Ran Aroussi: TBA [special time 11AM ET]

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help for Easy Language Giox EasyLanguage Programming 1 October 17th, 2014 12:53 PM
Very simple easy language Help ttsang EasyLanguage Programming 4 March 8th, 2012 02:24 PM
easy language ..not easy... Serger EasyLanguage Programming 4 April 26th, 2011 04:42 PM
Easy Language for tradestation esam_jir EasyLanguage Programming 3 November 3rd, 2010 06:22 PM


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