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.

Tams

Market Wizard
  • Content Count

    4075
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Tams

  1. what do you trade? what resolution you are trading at, and how far back history are you looking for? stock traders want to see a few years back, future traders want a few months back...
  2. I say what I said... because the logical requirement is very simple, so as the solution... it is VERY VERY VERY simple... if only you would take the time to write out your thoughts as I suggested. note taken, I will put you on ignore. .
  3. can you post some charts to illustrate? (with lines and arrows and note?)
  4. if you can describe your thought process... you can program it I can write it out for you, but I would do you a disservice, because you will come back again, and again, to ask similar "thinking required" questions, like what you are doing now. my suggestion: write out your thoughts, one logic at a time, one action at a time, one action per sentence, ONE SENTENCE PER LINE I repeat, ONE SENTENCE PER LINE you can make it if you want to,
  5. 6 packs in 16 weeks Spartan training. [VIDEO]
  6. see step #4 in post #4 try numtostr( V2VolLevel, 0 ) text( PVPVolArray[ V2VolLevel ] ) text( StartPrice ) text( MyVolume )
  7. I believe DBntina uses the mid point of the array as starting point... 1. he can save one dimension in the array... because array takes up memory ! 2. faster operation 3. opening tick is the starting point... all subsequent ticks are as a plus or minus of the previous tick... therefore no need for the price data. CLEVER !
  8. in backtest... if the data does not exist on the 10th, it must be a holiday... ;-)
  9. a typical 2 dimensional array MyArray [ 3, 4 ] refers to the closing price of Oct 10, 2009 .
  10. don't understand what you are talking about. can you illustrate what you want to do ???
  11. here are my note: 1. pls wrap codes in code tags. the code tag is the # key at the top of the reply window 2. don't be so cheap with variables -- make the name more explicit. It doesn't cost anything, but will make debugging easier. e.g. I can't tell what jLow is. 3. you need to write out your logical operation in finer resolution. you were doing well... until step 4. Step 4 is the most involved -- you have loops and assignments and matchings... you need to break down step 4 into more coherent thoughts. Draw a flow chart... with lines and arrows illustrating data flow try this too... plot out exactly which data goes into which slot: 4. put PRINT statements before and after every variable assignment... this is the best way to track the data flow see here for more information on print. http://www.traderslaboratory.com/forums/f56/print-easylanguage-6000.html have fun...
  12. iPrice is the counter the loop would only makes sense if you use the counter to cycle the instructions inside the loop. e.g. for iPrice = HighDay downto LowDay begin MatrixVoL[iPrice] = MyVol(iPrice); END; p.s. I have not studied your code or logic, the above example is for LOOP illustration only, not a correction to your logics. more on For loop can be found here: FOR (EasyLanguage) http://www.traderslaboratory.com/forums/f56/easylanguage-7074.html
  13. This thread is about the For keyword in EasyLanguage. For Used in combination with To or DownTo to form a loop statement that will execute a set of instructions repeatedly until the loop count reaches the specified final value. The loop statement specifies a numerical variable that holds the loop count, as well as initial and final counter values. To specifies that the value of the counter variable is to be increased by one on the completion of each loop, while DownTo specifies that the value of the counter variable is to be decreased by one on the completion of each loop. The use of Begin and End statements is required to group the instructions for execution within the loop; a Begin must always be followed by an End. Begin should not be followed by a semicolon (, code lines within an instruction group should end with a semicolon (, and End should be followed by a semicolon (. Usage For Counter = IValue To FValue Begin Instruction1; Instruction2; End; or: For Counter = IValue DownTo FValue Begin Instruction1; Instruction2; End; Where: Counter - a numerical variable used store the loop count IValue - a numerical expression specifying the initial counter value FValue - a numerical expression specifying the final counter value Example Add the high prices of the last 10 bars to the HighPriceSum variable: For BarBackNo = 0 To 9 Begin HighPriceSum = HighPriceSum + High[barBackNo]; End; Add the high prices of the last 10 bars to the HighPriceSum variable: For BarBackNo = 9 DownTo 0 Begin HighPriceSum = HighPriceSum + High[barBackNo]; End; source: EasyLanguage manual
  14. related indicators: XCAP iPolyCycle http://www.traderslaboratory.com/forums/f46/xcap_ipolycycle-7072.html XCAP IPolyFit http://www.traderslaboratory.com/forums/f46/xcap-ipolyfit-7039.html
  15. related indicators: XCAP iPolyCycle http://www.traderslaboratory.com/forums/f46/xcap_ipolycycle-7072.html XCAP IPolyFitPredict http://www.traderslaboratory.com/forums/f46/xcap-ipolyfitpredict-7056.html
  16. related indicators: XCAP IPolyFitPredict http://www.traderslaboratory.com/forums/f46/xcap-ipolyfitpredict-7056.html XCAP IPolyFit http://www.traderslaboratory.com/forums/f46/xcap-ipolyfit-7039.html
  17. XCAP_iPolyCycle Note: This indicator was written in EasyLanguage. Please refer to your users manual for importation instructions. Your comments and rating of this indicator is appreciated. XCAP_iPolyCycle_(MultiCharts).pla XCAP_iPolyCycle_(EasyLanguage).txt
  18. I guess if you really try... GV might help. otherwise hashnum or pushpop?
  19. depending on your time value of money... MultiCharts might be cheaper or is it the money value of your time :missy:
  20. you can also get Global Variable V2.2 here: http://www.traderslaboratory.com/forums/f46/global-variable-v2-2-a-6023.html
  21. this has been explained, I think about a month ago. if you have been following the progress, I am sure you have ran into it.
×
×
  • Create New...

Important Information

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