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.

danhoyda

Members
  • Content Count

    29
  • Joined

  • Last visited

Everything posted by danhoyda

  1. I'm having trouble understanding bonds. When interest rates go up, newly issued bonds have a higher interest rate per coupon payment so previously issued bonds which have a lower interest rate than the new bonds issued therefore they are less valuable to the market. The old bonds prices to market should go down. The inverse would be true if interest rates go up. (ie bond traded prices go down interest rates are higher). The bonds fluctuate on the market because they are traded. So wouldn't they be a gague for what interest rates actually are based on what the price of a bond, that is traded on the market at any given time? But the prices fluctuate alot. So if prices of bonds change alot then interest rates are always changing?! What does the fed mean when they are increasing or decreasing rates? How does one differentiate between a bond traded on the market with a coupon rate of 5% compared to another bond traded at 10%? Are all bonds traded on the treasury market a given rate? How could they be? Because there are bonds issued every 2, 5, 10 and 30 years. I guess my question is, When watching bond prices, how does one know what the coupon payment is when they buy one on the market?
  2. hey man, I am trying to code an alert into tradestation but whenever the condition is true nothing happens do you know what might be the problem?

  3. hey Jperl, what does the spread between the VWAP and the PVP tell you, If the spread is higher is it more likely to succeed?
  4. Hi everyone! my name is daniel, I am relatively new to this forum and am so happy to be here because of the help I have recieved. I would like to get some help on developing a code to do a certain kind of study for me. I have plotted on various graphs on tradestation, currency pairs. I have noticed that the inverse of the GBPCHF is almost exclusively the EURGBP. I am plotting the heiken indicator on each of the currency pairs. The study I would like to conduct is as follows, As one bar on a currency changes color the program will look to see if the same bar on the other currency has also changed color. If this happens at the same time, the program should log the price of the close of each and enter a position in the direction of the indication on each currency. (Red = short, blue = long). Once a position has been logged, the study will continue to analyse bars on each currency and should one change color (on the close) the price will be noted (and theoretically position is closed) I do not have very much experience with easy language so any help would be appreciated. Thanks!! Dan
  5. thanks very much to all the support that was given to create this wonderfull tool. I am very gratefull to both dbtina and jperl. I am about halfway through the trading with market statistics section and am very much enjoying it. I really like who Jperl uses Newbie, because thats what I am right now. Just wanted to post my thanks. I did not know that the tick by tick had to be constructed in real time. This helps alot.
  6. hey Jerry, I love the technique. You have indeed taught me. My question today is with the FX. I have been interested in plotting the volume distribution on the forex but it does not seem to have the same results as plotting the distribution as with other vehicles. I guess my question is. If you plot the Volume and get the price on the close of the bar, as you could do with any simple volume indicator, would this be the same price (the peak volume point) as the peak volume price on the volume distribution histogram. I think my question is, what is the difference between the volume distribution and the volume?
  7. I am pretty sure it calculated a 10 day high and low a 5 day high and low and a 1 day high and low as well as a relative high and low of the current chart timeframe. I believe it also calculated bottom relative high and low points, I think the program called these BP's however it could be B_'s something else because I can't quite remember. Thanks Onesmith Dan
  8. so do they not work for forex?
  9. hey guys, Im not sure if you guys know about it but there was an indicator called something like keysupport and resistance. I recently uninstalled TS to see if something was working incorrectly. However now that I reinstalled it I can't find the indicator on this site. Has anyone managed to find it. I would be very thankful for anyone that can point me in the right direction. Thanks! Dan
  10. hey tiger. I get the data from global server. I only get the forex so I don't have access to the ES. Also tradestation is working in offline mode. the data comes through quoteroom and globalserver and owndata (quotemanager). Here is a picture of the price distribution and the volume distribution for the EURUSD. Thanks for the help so far! Dan
  11. I'm not sure if this tool needs the bid ask information. TS is not allowed in Canada so the TS copy is cracked. Not sure if this is why.
  12. From what I understand, when you go to the activity bar in tradestation and plot the volume distribution, you are supposed to get a distribution on the left side of the screen. I'm not sure what is wrong with my tradestation because I get the picture you see on the screen. I am not sure what you mean about spot forex and it being useless. Can you elaborate. Thanks for the help Dan
  13. Hey guys I'm not sure what is wrong with my tradestation but when I go to plot the volume distribution under the activity bar it shows very strange information, I am not sure what to make of it. I have posted a pic below. Is there something wrong with how I plotted it?
  14. thanks onesmith. I have been interested in the murray math indicator do you know anything about it?
  15. I LOVE this indicator. Thank you very much for this. Could someone explain to clearly what exactly it is doing. My code understanding is very limited. Any help would be appreciated. Thanks! Dan
  16. that computer date time thing is what I changed it back to. Dan inputs: UpCol( black ), DnCol( Red ), UpPRV(green), DnPRV(Darkcyan), delay(10); variables: offset(0), color(0); vars: CurrentTimeInSecs ( 0 ), TotSecondsDiff( 0 ) , SecondsDiff( 0 ) , MinutesDiff( 0 ), prv(0); plot1(0, "Zero"); if date = date[1] then begin CurrentTimeInSecs = ( ComputerDateTime - DateToJulian( Date ) ) * 86400 ; TotSecondsDiff = CurrentTimeInSecs - CurrentTimeInSecs[1] ; end; If TotSecondsDiff > delay then begin prv = (ticks/TotSecondsDiff) * 60 * barinterval ; IF prv > ticks[1] THEN setPlotColor( 2, UpPRV) else SetPlotColor(2, dnPRV); Plot2 (prv, "PRV"); end; if c > c[1] then color = upcol else if c < c[1] then color = dncol else color = color[1]; Plot2[1] (ticks[1], "PRV"); plot3(ticks, "Volume", color);
  17. pardon me I got it to work thanks for the help I changed something on the original code and thats why it didnt work. I changed it back and now it is. Thanks. Love the indicator.
  18. hey tams here is the screenshot you requested i am trying to plot it for the GBPCHF ratio, the error i get is a floating point invalid calculation here is the code in the easy language as well. // PRV Pro Rated Volume // author: unknown (previousely posted by TXUK) // enhancements by TAMS // // This indicator projects the volume at the end of the bar. // It calculates the PRV based on the current trade pace, // and the time remaining in the bar. // // This information is useful to spot turning points // ie. whether the money is drying up... or flooding in. // // This indicator is usable on minute charts only. // // Instructions: // Set the volume to display as a thick histogram // and the PRV to display either as a thin histogram, or as a thick point.// // // enhancemnts by TAMS: // 20070102 // added user configurable colors // auto detect chart resolution (original version can only be used on 5min chart) // added delay, so that the PRV does not get overwhelmed at the beginning of the bar // added the zero line, so that autoscale starts at zero instead of the lowest volume // inputs: UpCol( black ), DnCol( Red ), UpPRV(green), DnPRV(Darkcyan), delay(10); variables: offset(0), color(0); vars: CurrentTimeInSecs ( 0 ), TotSecondsDiff( 0 ) , SecondsDiff( 0 ) , MinutesDiff( 0 ), prv(0); plot1(0, "Zero"); if date = date[1] then begin CurrentTimeInSecs = ( Currenttime - DateToJulian( Date ) ) * 86400 ; TotSecondsDiff = CurrentTimeInSecs - CurrentTimeInSecs[1] ; end; If TotSecondsDiff > delay then begin prv = (ticks/TotSecondsDiff) * 60 * barinterval ; IF prv > ticks[1] THEN setPlotColor( 2, UpPRV) else SetPlotColor(2, dnPRV); Plot2 (prv, "PRV"); end; if c > c[1] then color = upcol else if c < c[1] then color = dncol else color = color[1]; Plot2[1] (ticks[1], "PRV"); plot3(ticks, "Volume", color);
  19. when i try to apply it to a chart it says floating point invalid calculation.
  20. hey Tams, I am not sure what I have to change here to make it work in tradestation, can you give me another hint. // PRV Pro Rated Volume // author: unknown (previousely posted by TXUK) // enhancements by TAMS // // This indicator projects the volume at the end of the bar. // It calculates the PRV based on the current trade pace, // and the time remaining in the bar. // // This information is useful to spot turning points // ie. whether the money is drying up... or flooding in. // // This indicator is usable on minute charts only. // // Instructions: // Set the volume to display as a thick histogram // and the PRV to display either as a thin histogram, or as a thick point.// // // enhancemnts by TAMS: // 20070102 // added user configurable colors // auto detect chart resolution (original version can only be used on 5min chart) // added delay, so that the PRV does not get overwhelmed at the beginning of the bar // added the zero line, so that autoscale starts at zero instead of the lowest volume // inputs: UpCol( black ), DnCol( Red ), UpPRV(green), DnPRV(Darkcyan), delay(10); variables: offset(0), color(0); vars: CurrentTimeInSecs ( 0 ), TotSecondsDiff( 0 ) , SecondsDiff( 0 ) , MinutesDiff( 0 ), prv(0); plot1(0, "Zero"); if date = date[1] then begin CurrentTimeInSecs = ( Currenttime - DateToJulian( Date ) ) * 86400 ; TotSecondsDiff = CurrentTimeInSecs - CurrentTimeInSecs[1] ; end; If TotSecondsDiff > delay then begin prv = (ticks/TotSecondsDiff) * 60 * barinterval ; IF prv > ticks[1] THEN setPlotColor( 2, UpPRV) else SetPlotColor(2, dnPRV); Plot2 (prv, "PRV"); end; if c > c[1] then color = upcol else if c < c[1] then color = dncol else color = color[1]; Plot2[1] (ticks[1], "PRV"); plot3(ticks, "Volume", color);
  21. can anyone repost this code to TS i would be interested to try it out. Thank you!
  22. i think there is something wrong when i put this indicator on my chart it looks like this.
  23. hey im trying to modify the tradestation indicator for the spread between two things on a % scale. the one thats on it just plots a line and I think it takes the absolute value. I would like it to trace a zero line and plot the reverse direction should a crossover occur between the two charts can anyone help me here are some screenshots of two different charts. there is nothing common with the charts.
×
×
  • Create New...

Important Information

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