indiTraders - Forum for the Active Indian Trader  

Go Back   indiTraders - Forum for the Active Indian Trader > Tools > Software > Tradestation

DPonline
Reply
 
Bookmark and Share LinkBack (1) Thread Tools Display Modes
  #101 (permalink)  
Old 17-01-2012, 07:06 PM
alex alex is offline
indiTraders VIP
 
Join Date: Mar 2009
Location: Mumbai
Posts: 4,928
Thanks: 14,925
Thanked 13,314 Times in 4,262 Posts
alex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond repute
alex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond repute
Default

Originally Posted by alex View Post
I am having some wiered problem in codingfor intraday.
If I code simple as
h > highest(h,4)[1]; l< lowest(l,4)[1];
//so far it's correct, but when I add first line as
if (date<> date[1]) { or (time<time[1])} then begin
//ideally it should give intraday signals but here nothing displays and when i remove above line arrow displays. Same with other codes. Am I missing something simple?

Pheww!!found the solution, keyword sess1firstbartime > 9.00 done the trick.
__________________
The essence of mathematics is not to make simple things complicated, but to make complicated things simple.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to alex For This Useful Post:
  #102 (permalink)  
Old 19-01-2012, 03:49 PM
alex alex is offline
indiTraders VIP
 
Join Date: Mar 2009
Location: Mumbai
Posts: 4,928
Thanks: 14,925
Thanked 13,314 Times in 4,262 Posts
alex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond repute
alex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond repute
Default

Trying to code kind of complex strategy after long long time in Multicharts. And was re-reading old material to brush up..Liked this sentence..lollzz
Quote:
There are basically two types of errors in programming: syntax and logi-
cal. The logical errors are sometimes quite difficult to fix and are usually the
ones that instigate the violent action of throwing one’s monitor through the
closest open or shut window. A logical error is an imperfection in your trans-
lation of your ideas into programming code. This error may simply be a typo
or a complete misunderstanding of a concept. A typo is a simple fix, whereas a
flawed conception of an idea may take hours to work through.

__________________
The essence of mathematics is not to make simple things complicated, but to make complicated things simple.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #103 (permalink)  
Old 28-07-2012, 12:49 PM
cheto cheto is offline
Newbie
 
Join Date: Jul 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
cheto is on a distinguished road
Default Multicharts: this word has Already Been defined

Hello, I copied the indicator Crown Chart Cycle Period in PowerLanguage of Multicharts, but it appeared the following error:

Study: "Crown Period Cycle Chart" (Indicator)
Please wait ....
------ Compiled with error (s): ------

errLine 31, errColumn 1, errLineEnd 31, errColumnEnd 2
casual study: (Function)

How can I fix it?
thank you very much
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #104 (permalink)  
Old 28-07-2012, 11:31 PM
alex alex is offline
indiTraders VIP
 
Join Date: Mar 2009
Location: Mumbai
Posts: 4,928
Thanks: 14,925
Thanked 13,314 Times in 4,262 Posts
alex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond repute
alex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond repute
Default

Originally Posted by cheto View Post
Hello, I copied the indicator Crown Chart Cycle Period in PowerLanguage of Multicharts, but it appeared the following error:

Study: "Crown Period Cycle Chart" (Indicator)
Please wait ....
------ Compiled with error (s): ------

errLine 31, errColumn 1, errLineEnd 31, errColumnEnd 2
casual study: (Function)

How can I fix it?
thank you very much

I think there must be a function related to the indicator is missing or havent got compiled. Try to compile indicators which are not compiled or you are trying to compile the function as an indicator. Can't say much without seeing the indicator. Because multicharts error reports are not that specific.
__________________
The essence of mathematics is not to make simple things complicated, but to make complicated things simple.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #105 (permalink)  
Old 03-07-2013, 12:58 PM
Sunshine's Avatar
Sunshine Sunshine is offline
indiTraders VIP
 
Join Date: Oct 2009
Posts: 2,531
Thanks: 6,210
Thanked 4,443 Times in 1,983 Posts
Sunshine has a reputation beyond repute
Sunshine has a reputation beyond reputeSunshine has a reputation beyond reputeSunshine has a reputation beyond reputeSunshine has a reputation beyond reputeSunshine has a reputation beyond reputeSunshine has a reputation beyond reputeSunshine has a reputation beyond reputeSunshine has a reputation beyond repute
Default

TradeStation introduced EasyLanguage 'collections' in version 9.0. It includes vector, dictionary, stack, queue, tokenlist etc classes. Tutorial 90
demonstrates how to create a vector, store data in it, and finally limit its size by deleting elements after the vector reaches a specific size.

Vectors can be useful, especially as they automatically 'shuffle' all the data down when a new element is added. You could do this with arrays, however it would require extra programming. Unlike arrays, it is not possible to query what a vector element had been on a previous bar, like you can with arrays.

The free tutorial (including a video demonstration) can be found at: http://markplex.com/free-tutorials/t...guage-vectors/
__________________
A man who moves a mountain begins by carrying away small stones - Confucius
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to Sunshine For This Useful Post:
  #106 (permalink)  
Old 18-12-2013, 05:02 PM
nTupLe2 nTupLe2 is offline
Regulars
 
Join Date: Nov 2013
Location: kolkata+WB/Country
Posts: 216
Thanks: 172
Thanked 143 Times in 96 Posts
nTupLe2 will become famous soon enoughnTupLe2 will become famous soon enoughnTupLe2 will become famous soon enough
Default

hi

nice work.

except few links are not working by DevDas.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

indiTraders - Forum for the Active Indian Trader > Tools > Software > Tradestation


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.inditraders.com/tradestation/2530-easylanguage-coding.html
Posted By For Type Date
Source This thread Refback 09-02-2011 12:38 AM

DPonline

All times are GMT +5.5. The time now is 02:59 PM.


vBulletin Copyright by vBulletin

Content Relevant URLs by vBSEO 3.3.2