NexusFi: Find Your Edge


Home Menu

 





Question about writing code in Easy language


Discussion in MultiCharts

Updated
      Top Posters
    1. looks_one will4 with 29 posts (1 thanks)
    2. looks_two ABCTG with 26 posts (14 thanks)
    3. looks_3 mattz with 1 posts (0 thanks)
    4. looks_4 Jura with 1 posts (1 thanks)
      Best Posters
    1. looks_one kevinkdog with 1 thanks per post
    2. looks_two Jura with 1 thanks per post
    3. looks_3 ABCTG with 0.5 thanks per post
    4. looks_4 will4 with 0 thanks per post
    1. trending_up 11,633 views
    2. thumb_up 17 thanks given
    3. group 4 followers
    1. forum 58 posts
    2. attach_file 0 attachments




 
Search this Thread

Question about writing code in Easy language

  #11 (permalink)
will4
sydney,Australila
 
Posts: 31 since Jun 2017
Thanks Given: 13
Thanks Received: 1


ABCTG View Post
will4,

what does the function lastbaronchart return?

Regards,

ABCTG

Is there any reserved word for" last price on chart" that I can use it and easy language understands(same as "entryprice"? what do you mean by function return ? (can you provide a simple example or program that function has returned in it ,or if there is anything on current signals and indicators in easylanguage that i can use it as an example ,can you tell me please?)I apprreciate your assistance and I look forward in hearing from you

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
REcommedations for programming help
Sierra Chart
MC PL editor upgrade
MultiCharts
Cheap historycal L1 data for stocks
Stocks and ETFs
ZombieSqueeze
Platforms and Indicators
 
  #12 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629

will4,

you can take a look at what the function does in the "EasyLanguage Functions and Reserved Words" PDF, which you download for free here:

https://www.tradestation.com:443/education/university/school-of-easylanguage/books-and-downloads/easylanguage-functions-and-reserved-words

Regards,

ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #13 (permalink)
will4
sydney,Australila
 
Posts: 31 since Jun 2017
Thanks Given: 13
Thanks Received: 1



ABCTG View Post
will4,

you can take a look at what the function does in the "EasyLanguage Functions and Reserved Words" PDF, which you download for free here:

EasyLanguage Functions and Reserved Words | Books | School of [AUTOLINK]EasyLanguage[/AUTOLINK] | TradeStation University

Regards,

ABCTG

Hi thanks for the link,I want to write a program that places the trades based on dynamic of trade do you know formulas and indicators that are already in Easylanguage related to dynamic of trade?can you name them please?I appreciate your assistance.

Reply With Quote
Thanked by:
  #14 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629

will4,

you are welcome.
How do you define "dynamic of trade"? I am not aware of any functions from the top of my head, but that doesn't mean they don't exist or use a different name.
By the way, you can show your appreciation for posts on futures.io by clicking the "Thanks" button next to a post.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #15 (permalink)
will4
sydney,Australila
 
Posts: 31 since Jun 2017
Thanks Given: 13
Thanks Received: 1


ABCTG View Post
will4,

you are welcome.
How do you define "dynamic of trade"? I am not aware of any functions from the top of my head, but that doesn't mean they don't exist or use a different name.
By the way, you can show your appreciation for posts on futures.io by clicking the "Thanks" button next to a post.

Regards,

ABCTG

I think dynamic of trade means ,supply and demand .do you know any indicator or formula about it?

Reply With Quote
  #16 (permalink)
will4
sydney,Australila
 
Posts: 31 since Jun 2017
Thanks Given: 13
Thanks Received: 1


ABCTG View Post
will4,

you are welcome.
How do you define "dynamic of trade"? I am not aware of any functions from the top of my head, but that doesn't mean they don't exist or use a different name.
By the way, you can show your appreciation for posts on futures.io by clicking the "Thanks" button next to a post.

Regards,

ABCTG

Hi I have written this program but again it does not compile it the Error message is :
------ Compiled with error(s): ------
Types are not compatible
line 12, column 5
Would you mind if I ask you what is wrong with it?


variables:
var1 (0),
var2 (0),
atsStatus (0);

If (LastBarOnChart_s=true )then begin
atsStatus = GetAppInfo(aiStrategyAuto);

var1=lastbaronchart-200 points;
var2=lastbaronchart+200 points;

buy 1 contract next bar at var1 limit ;
sell 1 contract next bar at var2 limit;

end;

Reply With Quote
  #17 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629

will4,

based on what you read in the "EasyLanguage Functions and Reserved Words" PDF, what does the function lastbaronchart return?

Regards,

ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #18 (permalink)
will4
sydney,Australila
 
Posts: 31 since Jun 2017
Thanks Given: 13
Thanks Received: 1


ABCTG View Post
will4,

based on what you read in the "EasyLanguage Functions and Reserved Words" PDF, what does the function lastbaronchart return?

Regards,

ABCTG

It returns true,and I have written " If (LastBarOnChart_s=true )then begin "

Reply With Quote
  #19 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629

will4,

exactly, it returns a boolean value. However the line you just posted is not the problem in your code.
The compiler even gives you the line number where the error occurs and as you are trying to add a boolean to a numeric value, tells you this is not possible as the "Types are not compatible".

You can block lines of your code using comments and test which lines are the ones giving you the error.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #20 (permalink)
will4
sydney,Australila
 
Posts: 31 since Jun 2017
Thanks Given: 13
Thanks Received: 1



ABCTG View Post
will4,

exactly, it returns a boolean value. However the line you just posted is not the problem in your code.
The compiler even gives you the line number where the error occurs and as you are trying to add a boolean to a numeric value, tells you this is not possible as the "Types are not compatible".

You can block lines of your code using comments and test which lines are the ones giving you the error.

Regards,

ABCTG

I understand that lastbaronchart is function and I can not put function on the Var and add it to 200,but then what should I do to get the lastprice on chart? I checked all the reserved word

Regards,
Will

Reply With Quote




Last Updated on July 14, 2017


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts