Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.
-
Content Count
4075 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Tams
-
here's the homework I was talking about.
-
OK, here's the PRINT demonstration: http://www.traderslaboratory.com/forums/f46/scan-print-6194.html This example scans for stocks that Closes Higher than previous day's High, then prints out the names of the stocks that met the condition.
-
I have posted a PRINT example here: http://www.traderslaboratory.com/forums/f46/scan-print-6194.html p.s. it also uses the keyword FILEAPPEND.
- 14 replies
-
- debug
- easylanguage
-
(and 3 more)
Tagged with:
-
Scan Print (for use in scanner at EOD) this indicator is for demonstration purpose only Description: This indicator scans the last bar on the chart, if the close is higher than previous bar's high, it will make a printout to a) the Output log window, b) the printer, or c) a file. The criteria can easily be modified to create different stock filters. In the spirit of Pay-Forward, You are invited to post your enhancements. discussions on the PRINT command: http://www.traderslaboratory.com/forums/f56/print-easylanguage-6000.html#post68550 Scan_Print_(MultiCharts).pla Scan_Print.txt
-
- easylanguage
- fileappend
-
(and 2 more)
Tagged with:
-
you haven't done your homework... LOL, and it shows. nor have you took up my suggestion to open Gap Up.
-
inside TradeStation/MultiCharts, there should be a study called Gap Up. You can open it and look at the syntax as example.
-
YES !!! YES !!! YES !!! this is great! This is 100% EasyLanguage logic ! All we have to do is go to the EasyLanguage dictionary/manual and find out the syntax of the keywords.
-
I am not giving away anything free; it still requires sweat. I am can only help people who want to help themselves. ;-)
-
if you are using MC, you can connect to InteractiveBroker's demo system. It streams day-old data for testing purposes.
-
if you can imagine it, you can program it. ;-)
-
You can program the PRINT command to spit out a report whenever a condition is met. You can scan 300 stocks (or 1000 stock), if 3 meets the criteria, you will have a print out stating which 3 stocks are those. i.e. you don't have to visually review all 1000 lines on the scanner. I will post an example at the Print thread. http://www.traderslaboratory.com/forums/f56/print-easylanguage-6000.html
-
if you are just checking the results once a day, a PRINT routine might be better for your purpose http://www.traderslaboratory.com/forums/f56/print-easylanguage-6000.html
-
Many people have asked for MT4 versions of indicators in various threads. Yes it is possible. BUT... you have to help develop the MT4 community first. 1. You can start by posting your indicators. 2. Contribute your experience in discussions. 3. Share your knowledge from your researches. the more people post their MT4 indicators, the more indicators you will get. If you don't have any of the above, then you can wait in silence...
-
... then don't trade the afternoon. as a matter of fact, don't trader after 11:30am. enjoy life, which is more important than trading. ;-)
-
I would imagine the same... resource limitations. Remember this app was written a few years back (quite a few years back!), the resource was scarce then. But we are not any better today; we are still in a restraining 32 bit environment: The application can only use 2 GB of whatever memory you have. Sorry no, I have no way of changing it.
- 10 replies
-
- ade
- elcollections
-
(and 3 more)
Tagged with:
-
arrow is more advanced stuff... let's tackle one challenge at a time. homework for the weekend: look up the following keywords: plot setplotcolor Enjoy! p.s. arrow is only available for MultiCharts.
-
sorry... we are still at the pseudo-code stage... ;-) arh... I shouldn't have colored it blue. sorry for the confusion. I will go back and change it to another color.
-
wow, colored bars too ! impressive !
- 10 replies
-
- gap
- price action
-
(and 3 more)
Tagged with:
-
maybe we can hold off on the arrow for now... let's just do a plot. it will show up as a dot on top of the bar.
-
yes, you have got it... Let me edit it a bit. We are still at the pseudo-code stage. Here you can see the English writing is starting to take on the structure of a computer code. // state the condition gravestone = (open = low) and (open = close); // the evaluation: if gravestone is true and high > than previous 5 bar highs // the operation: then do this: -- plot a down arrow Piece of cake !
-
in this code, I have assigned a "value" to gravestone. i.e. gravestone MEANS (open = low) and (open = close); in another words, when I say gravestone, I really mean: (open = low) and (open = close); when someone say he can see a gravestone, he really means: he can see a (open = low) and (open = close); but wait a minute... didn't I jsut created the variable gravestone and assigned it a (false) value? Yes, I initialized the value to false. The computer will evaluate the condition at every bar and see if the condition is met... if the condition is met, then gravestone will become "TRUE". so far so good? .
-
sit back, relax, take this as a step by step free EasyLanguage lesson. this line creates a variable called gravestone. Variables Variables are a programming tool that allow you to store values and refer to those values when needed. Each variable has a unique name that can be referenced in an analysis technique when needed. Variables can be: numeric values, or true/false comparisons, or text strings. Variables allow you to organize and annotate your code with descriptive names that describe the nature of the calculation or purpose of the data. Variables hold their value from bar to bar until changed. There are several benefits to storing values in variables: they can reduce typographical errors, complex state- ments can be referred to by a simple name, readability and understanding are improved, and they are processing and memory efficient. Variables names, like inputs, are unique to the study they are declared in. You can use the same name over again in any other study, but you cannot reuse the same name within the same study, for example declaring a variable with the same name as an input. Also, remember to avoid naming variables with the same name as an EL reserved word or function. User-named variables must be declared before they can be used. The Variables reserved word is used to declare variables, and it has four forms: Variables, Variable, Vars, Var. Each is functionally equivalent and each must be followed by a colon ( : ), then a list of variable names separated by commas. Each declared variable must be given an initial value. Variables are generally initialized to 0, but can be initialized to any useful value. This initialized value determines the data type of the variable (numeric, true/ false, or text string). Usage Example: Variables: LastHigh(0), { creates a numeric variable } NewHigh(false),{ creates a true/false variable } HighAlert(""); { creates a text variable } source: EasyLanguage manual
-
write out your logic in English first... one thought at a time, one action at a time, one action per thought, one thought per line, one line per sentence... eg. if XXX > YYY, then do ZZZ... etc., no worries, EasyLanguage is nothing more than structured English (the computer way).
-
is it possible? sure it is possible... if you can imagine it, you can do it. if you can articulate your logic on paper, it can be coded. if you can write out your thoughts one action, one line at a time, even a non-programmer can program in EasyLanguage. here's a little help to get you started: var: gravestone(false); gravestone = (open = low) and (open = close);
-
can you describe the Gravestone? how would you like it presented? as a dot on the bar? or a text next to the close?