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.

pitrader

Members
  • Content Count

    57
  • Joined

  • Last visited

Everything posted by pitrader

  1. This is for the code writers that like a challenge. I would like to use the following MA (code is below) for a range chart in TS. However range charts have no formal time stamp as to when the bar begins and ends. As a result the extention plots very erratically. Can somebody please show me the code that will allow me to get this working properly. It would be much appreciated.. Thanks Pi Inputs: Price( (high+low)/2), Length( 21), Displace( 0) ; Variables: Avg( 0 ), TL (-1); Avg = AverageFC( Price, Length ) ; If Displace >= 0 or CurrentBar > AbsValue( Displace ) then Begin Plot1[Displace]( Avg, "Avg" ) ; Once TL=TL_New(Date,Time,0,Date,Time,0); TL_SetEnd(TL,Date[Displace],Time[Displace],Plot1 [Displace] ); TL_SetBegin(TL,Date[Displace+1],Time[Displace+1],Plot1[Displace+1]); TL_SetExtRight(TL,true) ; TL_SetStyle(TL, tool_solid); TL_SetColor(TL, green); end;
  2. That works just fine. Thanks Easytrader! Regards Pi
  3. -------------------------------------------------------------------------------- I need a little help with some coding. I have a TS MA that has a TL attached to it in order to extend the MA off into the future. I cannot figure out how to set the color or style of the TL within the code. I have the code below and would appreciate it if somebody could help me out. Thanks. Pi inputs: Price( (high+low)/2), Length( 21), Displace( 0) ; variables: Avg( 0 ), TL (-1); Avg = AverageFC( Price, Length ) ; if Displace >= 0 or CurrentBar > AbsValue( Displace ) then begin Plot1[Displace]( Avg, "Avg" ) ; Once TL=TL_New(Date,Time,0,Dat e,Time,0); TL_SetEnd(TL,Date[Displace],Time[Displace],Plot1 [Displace] ); TL_SetBegin(TL,Date[Displace+1],Time[Displace+1],Plot1[Displace+1]); TL_SetExtRight(TL,true) ; End; { Alert criteria } if Displace <= 0 then begin if Price crosses over Avg then Alert( "Price crossing over average" ) else if Price crosses under Avg then Alert( "Price crossing under average" ) ; end ;
  4. You wouldn't happen to have a TS version of this MA extention would you?
  5. Hi guys. I am an avid trader priding myself on being as objective as I can with sound concepts and trading rationale. However the other day I came across a website that offered several services and coaching. One of the advisors that they have calls his trades using astrology. For the longest time I thought that this type of forecasting was a complete joke until I saw his performance. He had past turning points called with uncanny accuracy. I tried looking for the site again because I forgot what the address was and my history was deleted. Anyway this advisor trades on the 1min ES and his daily calls are given out the day before with commentary that goes something like this: At 10:38 watch for a (T5 signal) continuation of the bull trend until 10:46 where the market will turn sideways and then down off of a P2 until 11:13 where we should see a bounce back up until 11:36. If this is a new high then expect a P3 and an ensuing decline until 12:07. Anyway that is basically the way he calls it. It was not 100% mind you (nothing is) but it was accurate enough that I want to take a second look. He offers his tutorial and method with full disclosure over the course of 3 months. Normally I would not go for this type of thing but he had like a couple of years history of his advisory letters with charts accompanying them to show his accuracy. My question to all of you is whether you know who this guy is and what is the address of his site? Any help would be appreciated. Thanx Cheers
  6. Does anybody have a JMA for TradeStation? I would like to try it out on the Russell. Thanks
×
×
  • Create New...

Important Information

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