Jump to content

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.

Trader333

Members
  • Content Count

    157
  • Joined

  • Last visited

Everything posted by Trader333

  1. In my view you need to use price action in and around pivots along with a confluence of other factors and then trade based on that. Paul
  2. If you had read what UrmaBlume first posted you would see that it is not possible to do this in TS without using specialist dll files that send data into TS. Paul
  3. Very interesting post and from what you say does it appear that this may not be as of much use as was thought ? Paul
  4. There is also a very good thread on this over at T2W: Here is the link: VWAP Paul
  5. Does anyone know how I can code Easylanguage for TS2000i to take the word "ComputerDateTime" from the code below with an alternative ? I have tried the word "CurrentTime" but it is not working quite the way it should do. The rest works fine and it is only this that is an issue. Paul
  6. Here you go: Paul Courtesy of Tradestation: http://www.tradestation.com The Array concept it is actually very simple. The attempt of this page is to demystify the concept with simple examples. Please feel free to edit as well as to add alternate methods to clarify the content Think of an array as an Excel spreadsheet, where you have rows and columns. It is from this approach that the following examples are designed. * One Dimensional Arrays * Multi Dimensional Arrays * Populating Arrays * Shuffling Array Data * Sort new field into Array - soon Incrementing : For Counter = 1 to Array_Size begin... end; Decrementing : For Counter = Array_Size DownTo 1 begin... end; One Dimensional ARRAYS With one dimensional arrays you get one column with X number of rows to query. Array: myArray [10] (0); * the [10] defines one column with 10 rows (not to confuse but a 0 row is actually available too to make 11 ) * (0) = Numeric Data * (Text) = would = String Data could be entered. Multi-Dimensional Arrays Multi-Dimensional arrays enable you to store vast amounts of data more similar to a spreadsheet, thus you could add a specific series of data per bar or per condition to back reference for compare. Warning More standard is the two dimensioned array, but since you can do more a warning must be stated here in using a three dimensional array For example 3 dimensioned arrray would be myArray[10,10,10]; You should have your reasons well in order in advanced as improper dimensioning could easy take up too much memory as well as calculations time could be increased exponentially . The conceptualization of a three dimensional Array would be a spreadsheet cell hyperlinking to another completely new spreadsheet. A better example may be a pallet of boxs 10 across, 10 high and 10 deep. It starts getting very complicated at that level. Two Dimensional Array Array: myArray [10,10] (0); the [10,10] defines 10 columns with 10 rows (or not counting the 0 row, 100 field to populate with data) * (0) = Numeric Data * (Text) = would = String Data could be entered. So if you ask for Value1 = myArray*[6,7]*; then you are looking for column 6, row 7's data. Populating Arrays Arrays values hold from bar to bar. An array can be populated by a hard number as in: myArray[4] = High; or by a Counter method that you predefine variable name is arbitrary as long as the value is not higher than the declared dimensional value. Var: Counter(0); Counter = Counter +1; myArray[Counter] = High; Shuffling Array Data Shuffling simply moves the first row of an array to the second and so forth leaving the Arrays first row open for a new entry. Normally this is done in one step or procedure. Single Dimension Array Shuffle Array: myArray [10] (0); Var: myArraySize(10); Var: Counter1(0); Var: HoldRow(0), SaveValue(0); SaveValue = Value1; {your value or caluclation you want arrayed} For Counter1 = 1 to myArraySize begin holdRow = myArray[Counter1]; {save the current Value of this row for the next row } myArray[Counter1] = SaveValue; {pass the newer Value to this row} SaveValue = holdRow; {pass the old Value of this row for the next loop} end; Multi-Dimensioned Array Shuffle The code below will shuffle a multi-dimensional array. A new row will be inserted in position 1 and roll the remaining rows back one row each. Array: myArray [100,10] (0); Var: myArraySize(100); Array: Save[10](0); {used as holders for the shuffle} Array: Hold[10](0); {used as holders for the shuffle} Var: Z(0), X(0); {Using Single Letters as counters} {Pass your newest set of Values to a one dimensional Array} If condition1 then begin {Sample Data} Hold[1]= Date; Hold[2]= Time; Hold[3]= Open; Hold[4]= High; Hold[5]= Low; Hold[6]= Close; Hold[7]= UpTicks; Hold[8]= Downticks; Hold[9]= CurrentBar; Hold[10]= close -close[1]0; for Z = 1 to myArraySize begin For X = 1 to 10 begin Save[X] = myArray [Z,X]; end; {pass Array Row to Save Array variable LOOP} For X = 1 to 10 begin myArray [Z,X] = Hold[X]; end; {pass Hold Array variables row LOOP} For X = 1 to 10 begin Hold[X] = Save[X]; end; {pass the SaveArray to Hold Array LOOP} if Hold[1]= 0 then BREAK; {Get out of main LOOP if passed row /Hold Array is Empty } end; end;
  7. I remember seeing the orange indicator somewhere else but I cannot remember what it was. Paul
  8. It looks to me like you trade around pivot points based on some combination of awesome oscillator, macd and whatever that gooey orange indicator is. Paul
  9. Well it was able to on GBPUSD and only on other instruments where they was a problem. Not to worry and thanks for your help. Paul
  10. I was referring to the changed version. I am unable to open ELD files or import them as my version of Tradestation is too old and I had compiled them from the text. Paul
  11. Tams, Thanks again for another great indicator which I put into an ELS file for use with TS2000i. It works on GBPUSD but on all other instruments it will not plot. Does anyone have any suggestions as to why this may be the case or what I may need to do to get it to work on other instruments ? Paul
  12. It is all on their website. Paul
  13. I also use IB which has been as good as I need so far for Emini trading. Paul
  14. Tams, There are a number of settings that Bollinger Bands could be set to and more specifically how far back to calculate, what would you suggest for this ? Paul
  15. All trading is a contest in my view. Paul
  16. Try clearing the cache of your browser and also type directly into the address bar: http://www.traderslaboratory.com and avoid using a bookmark. Paul
  17. I have pairs traded in the past and found that IB were as good as I needed. Paul
  18. In what way do you mean that you don't know how it works ? Paul
  19. Trader333

    Scan in TS

    The reason I am asking is that Radarscreen can easily scan any number of instruments as long as they are in your portfolio for set criteria. If not then the whole issue is different. I am not an expert coder but I know how to set up scanning in RS. Paul
  20. Trader333

    Scan in TS

    Is this for instruments that are already in your portfolio ? Paul
  21. Trader333

    Scan in TS

    Are you asking for help in coding it or asking which applications can do it ? Paul
  22. I have tried to use this indicator which does verify after some minor changes but I don't see any trend lines being plotted and yet it should do. Paul
  23. Great post DB. I have used something similar to this to trade US stocks on an intra-day basis. Basically taking a top down approach and buying the strongest stocks when INDU rallies or shorting the weakest stocks when INDU falls. Of course when doing this on an intra-day basis the way in which INDU is determined as strong or weak and the key measure of which stocks are strongest and weakest by comparison is of prime importance to enable to be traded profitably. Paul
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.