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.

onesmith

Members
  • Content Count

    302
  • Joined

  • Last visited

Everything posted by onesmith

  1. If you find out ... you don't qualify for a scholarship but you have the qualities that make you an excellent candidate for this training program ......would you be able to provide a cash deposit or credit card number today? ... to lock in your position within some specific opportunity, only offered for a limited time, and only to those with your qualifications?
  2. What bar interval are you using? What is the symbol? Is the symbol day session only or does it include a night session?
  3. The authors reason for mentioning percentages appears to be based on a belief that it will make it easier for readers to relate to but my interpretation is the percentages are not part of the way he's calculating this particular trailing stop If I chose to use 10 units of ATR as he suggests in the book and atr = .8 then 10 * .8 = 8. If entry price = 20 then the initial stop = 20 - 8 = 12. The trailing part of the stop enables the stop to follow price upward but not downward. So if price goes up while I still own it ...to for instance 24 and atr remains at .8 then the stop will increase to 24 - 8 = 16.
  4. Ideally it's not parallel. Inevitably skill and tenacity win.
  5. No because I will be using my own best signals and my own understanding of the available viable signal generators to determine the formulas you are using to generate your signal and I'm not going to reveal that information.
  6. When they say the purchase price is the all time high that could have been worded better. Typically a trailing stop is subtracted from the max favorable excursion which is the highest price following an event that defines the entry or same as saying the highest theoretical exit price that could have been achieved. The generalizations about percentages are extrapolations based on the fact that the value of 10 units of ATR will increase or decrease simultaneously with an increase or decrease in volatility.
  7. If others are able to visually observe the output of your code in the form of it's signal on a chart then even without seeing it's code it's possible to create code which mimics your signal with a high degree of accuracy.
  8. If you have 7 years of programming experience with Easylanguage then why do you still need to charge other traders to code their ideas? I know this language too and I'm available for free. That's right I charge $0 per hour. I've been programming in TradeStations Easylanguage since 1994.
  9. Are you thiking about becoming a vendor and selling code? If you release anything worthwhile even as locked code it's signal will deteriorate as others observe whatever visible part of it signal that you release.
  10. Cool, thanks for the link. I've enjoyed exploring this idea. It's been fun.
  11. I didn't use inputs in this version because I change their values from within the editor. That updates everything I'm looking at without going through the menus. The inputs are still separated on the first line so that can easily be changed back. I limit the text display to 2 decimals so if you're trading pips increase numtostr(price,decimals) or make it an input. var: dir(1), ePrice(1356), trgt1(4), trgt2(8), trgt3(16), stp(6); var: id(0), t1price(0), t2price(0), t3price(0), sPrice(0), tic(minmove/pricescale), initialized(false); if initialized then begin tl_setend(id-4,d,t,ePrice); tl_setbegin(id-4,d,t,ePrice); tl_setend(id-3,d,t,t1price); tl_setbegin(id-3,d,t,t1price); tl_setend(id-2,d,t,t2price); tl_setbegin(id-2,d,t,t2price); tl_setend(id-1,d,t,t3price); tl_setbegin(id-1,d,t,t3price); tl_setend(id,d,t,sPrice); tl_setbegin(id,d,t,sPrice); text_setlocation(id-4,d,t,ePrice); text_setlocation(id-3,d,t,t1price); text_setlocation(id-2,d,t,t2price); text_setlocation(id-1,d,t,t3price); text_setlocation(id,d,t,sPrice); end else begin if dir>0 then begin t1price=ePrice+trgt1*tic; t2price=ePrice+trgt2*tic; t3price=ePrice+trgt3*tic; sPrice=ePrice-stp*tic; id=tl_new(d,t,ePrice,d,t,ePrice); tl_setextright(id,true); tl_setcolor(id,green); id=tl_new(d,t,t1price,d,t,t1price); tl_setextright(id,true); tl_setcolor(id,darkgreen); tl_setstyle(id,2); id=tl_new(d,t,t2price,d,t,t2price); tl_setextright(id,true); tl_setcolor(id,darkgreen); tl_setstyle(id,2); id=tl_new(d,t,t3price,d,t,t3price); tl_setextright(id,true); tl_setcolor(id,darkgreen); tl_setstyle(id,2); id=tl_new(d,t,sPrice,d,t,sPrice); tl_setextright(id,true); tl_setcolor(id,darkred); tl_setstyle(id,2); id=text_new(d,t,ePrice," "+numtostr(ePrice,2)); text_setcolor(id,green); text_setstyle(id,0,0); id=text_new(d,t,t1price," "+numtostr(t1price,2)); text_setcolor(id,darkgreen); text_setstyle(id,0,0); id=text_new(d,t,t2price," "+numtostr(t2price,2)); text_setcolor(id,darkgreen); text_setstyle(id,0,0); id=text_new(d,t,t3price," "+numtostr(t3price,2)); text_setcolor(id,darkgreen); text_setstyle(id,0,0); id=text_new(d,t,sPrice," "+numtostr(sPrice,2)); text_setcolor(id,darkred); text_setstyle(id,0,1); end else begin t1price=ePrice-trgt1*tic; t2price=ePrice-trgt2*tic; t3price=ePrice-trgt3*tic; sPrice=ePrice+stp*tic; id=tl_new(d,t,ePrice,d,t,ePrice); tl_setextright(id,true); tl_setcolor(id,red); id=tl_new(d,t,t1price,d,t,t1price); tl_setextright(id,true); tl_setcolor(id,darkred); tl_setstyle(id,3); id=tl_new(d,t,t2price,d,t,t2price); tl_setextright(id,true); tl_setcolor(id,darkred); tl_setstyle(id,3); id=tl_new(d,t,t3price,d,t,t3price); tl_setextright(id,true); tl_setcolor(id,darkred); tl_setstyle(id,3); id=tl_new(d,t,sPrice,d,t,sPrice); tl_setextright(id,true); tl_setcolor(id,darkgreen); tl_setstyle(id,3); id=text_new(d,t,ePrice," "+numtostr(ePrice,2)); text_setcolor(id,red); text_setstyle(id,0,1); id=text_new(d,t,t1price," "+numtostr(t1price,2)); text_setcolor(id,darkred); text_setstyle(id,0,1); id=text_new(d,t,t2price," "+numtostr(t2price,2)); text_setcolor(id,darkred); text_setstyle(id,0,1); id=text_new(d,t,t3price," "+numtostr(t3price,2)); text_setcolor(id,darkred); text_setstyle(id,0,1); id=text_new(d,t,sPrice," "+numtostr(sPrice,2)); text_setcolor(id,darkgreen); text_setstyle(id,0,0); end; initialized=true; end;
  12. Change the direction input from a positive to negative number to enable sellshort mode. input: direction(1), ePrice(1365), trgt1(4), trgt2(8), trgt3(16), stp(6); var: id(0), t1price(0), t2price(0), t3price(0), sPrice(0), tics(minmove/pricescale), initialized(false); once begin if direction>0 then begin t1price=ePrice+trgt1*tics; t2price=ePrice+trgt2*tics; t3price=ePrice+trgt3*tics; sPrice=ePrice-stp*tics; id=tl_new(d,t,ePrice,d,t,ePrice); tl_setextright(id,true); tl_setcolor(id,green); id=tl_new(d,t,t1price,d,t,t1price); tl_setextright(id,true); tl_setcolor(id,darkgreen); id=tl_new(d,t,t2price,d,t,t2price); tl_setextright(id,true); tl_setcolor(id,darkgreen); id=tl_new(d,t,t3price,d,t,t3price); tl_setextright(id,true); tl_setcolor(id,darkgreen); id=tl_new(d,t,sPrice,d,t,sPrice); tl_setextright(id,true); tl_setcolor(id,darkred); end else if direction<0 then begin t1price=ePrice-trgt1*tics; t2price=ePrice-trgt2*tics; t3price=ePrice-trgt3*tics; sPrice=ePrice+stp*tics; id=tl_new(d,t,ePrice,d,t,ePrice); tl_setextright(id,true); tl_setcolor(id,red); id=tl_new(d,t,t1price,d,t,t1price); tl_setextright(id,true); tl_setcolor(id,darkred); id=tl_new(d,t,t2price,d,t,t2price); tl_setextright(id,true); tl_setcolor(id,darkred); id=tl_new(d,t,t3price,d,t,t3price); tl_setextright(id,true); tl_setcolor(id,darkred); id=tl_new(d,t,sPrice,d,t,sPrice); tl_setextright(id,true); tl_setcolor(id,darkgreen); end; end; if lastbaronchart and initialized=false then begin if direction>0 then begin id=text_new(d,t,ePrice," buy "+numtostr(ePrice,4)); text_setcolor(id,green); text_setstyle(id,0,0); id=text_new(d,t,t1price," t1 "+numtostr(t1price,4)); text_setcolor(id,darkgreen); text_setstyle(id,0,0); id=text_new(d,t,t2price," t2 "+numtostr(t2price,4)); text_setcolor(id,darkgreen); text_setstyle(id,0,0); id=text_new(d,t,t3price," t3 "+numtostr(t3price,4)); text_setcolor(id,darkgreen); text_setstyle(id,0,0); id=text_new(d,t,sPrice," stop "+numtostr(sPrice,4)); text_setcolor(id,darkred); text_setstyle(id,0,1); end else if direction<0 then begin id=text_new(d,t,ePrice," ss "+numtostr(ePrice,4)); text_setcolor(id,red); text_setstyle(id,0,1); id=text_new(d,t,t1price," t1 "+numtostr(t1price,4)); text_setcolor(id,darkred); text_setstyle(id,0,1); id=text_new(d,t,t2price," t2 "+numtostr(t2price,4)); text_setcolor(id,darkred); text_setstyle(id,0,1); id=text_new(d,t,t3price," t3 "+numtostr(t3price,4)); text_setcolor(id,darkred); text_setstyle(id,0,1); id=text_new(d,t,sPrice," stop "+numtostr(sPrice,4)); text_setcolor(id,darkgreen); text_setstyle(id,0,0); end; initialized=true; end; if barstatus(1)=2 and initialized then begin text_setlocation(id-4,d,t,ePrice); text_setlocation(id-3,d,t,t1price); text_setlocation(id-2,d,t,t2price); text_setlocation(id-1,d,t,t3price); text_setlocation(id,d,t,sPrice); end;
  13. I don't have NT installed here and I don't have any desire to switch to it. The few times that I've tried it are limited to when I found some NT code on the internet that I wanted to translate. That experience didn't give me enough information about it to have an opinion about it's user interface but I definitely prefer TS's programming language.
  14. As someone who writes code, I know the value of c is priceless. I know things about other concepts with the same certainity. I have facts that are the result of experience. I would enjoy proving these statements. I could learn a lot by a back and forth discussion as I revealed facts but as a coder, I'm limited in what I can say. I can say with certainty that coder's are tight lipped. the value of c? ....to a coder? priceless.
  15. Ok thank you. PGO was written by a lengendary trader, who also happens to be named Mark Johnson. I noticed similarities and differences but I wasn't able to determine for certain. Thanks for solving that riddle. And thanks to the other MJ for the original riddle.
  16. Hey MDJ! Welcome to Traders Laboratory. Are you the author of PGO, Pretty Good Oscillator?
  17. If you have viable concepts then I'm willing to code them. I've writen a ton of strategies. I do it because I love it. I'm not the least bit interested in selling anything. Of the 2 vendors you mentioned, it was easy for me to determine a bias, in favor of the one that believes in his stuff and has his heart in trading. That's not an endorsement or recomendation. You would be better off studying how he's able to bring that passion to his trading and determining why you haven't been able to do that in your own trading.
  18. Can you describe it in more detail? What did it base it's calculations upon? If you provide more info I will let you know if I see it.
  19. Great topic. I'm especially interested in what the non-descretionary robot side of everyone thinks ...about the value of C?
  20. Mark, the file error is caused by the use of forward slashes rather than back slashes. The out of bounds error (on 6e) occurs because the index is keyed directly to price rather than something like index=p+offset to center price in the array; There's also a conceptual error that no one has mentioned, where the reserved word volume should be changed to ticks.
  21. Google for PGO. Pretty Good Oscillator is well known for being a riddle but it leads to lots of other free code and a ton of good information. I'm not associated with the PGO oscillator or it's creater. My choice to recomend it within the context of this topic is based upon the opportunity to embed a riddle within a riddle. This secondary riddle, the new one, remains somewhat of a riddle to me also. I have not solved it. I've just found this new riddle or defined it. The creator of PGO has the same first and last name as the proprietor of the Customized Trading site. I'm curious if the MJ, who created PGO, and somtimes referred to himself as MGJ, is a different MJ than the MJ who runs the CT site and who's middle initial is D instead of G.
  22. Rande, please elaborate on the subject of neuro-biology within your future posts and topics. For instance, I want to be able to better distinguish the differences between emotions and my sense of touch. I'm aware all my thoughts are emotional state dependent, but I hadn't formulated the importance of emotions within the hieracy of my senses of sight sound and feelings ...until you stated it so brilliantly as the accepted norm. I'm aware my emotional state filters what I'm able to see and hear. I suspect my thoughts are based upon what I'm seeing and hearing. I suspect my emotional state is dependent upon what I'm thinking. Thus my emotional state is both the cause and affect of what I'm seeing and hearing. So I'm trying to beter understand these interdependencies. There's a lot I can gain from what you take for granted as common knowledge or accepted norms. If I haven't presented my interest in a way that enables you to comfortably carry on in the general sense of where you intended to go with this line of thought, just know I am interested in learning more of what you take for granted as something everyone knows. All I know is it's a viable science for managing my life, so please define the nuances with as much detail as possible.
  23. TradeStation has a steep learning curve, within the program itself, before even delving into it's programming language. It's not an easy program to configure or learn how to use. I spent years getting comfortable with it. But it's programming language is the best of all the languages, in terms of it's simplicity. It's powerful enough to code anything imaginable and code it with less effort and less words than it takes in other languages. I am not proficient in many languages but I can read enough of all languages, and have proficiency in enough languages to know I am lucky to have found my way to TradeStation and it's EasyLanguage. It's worth whatever it costs to make the switch.
  24. PRV estimates total volume (of a completed bar), while the volume is still incomplete and developing. The version in this thread extrapolates the rate of developing volume (i.e. it pro-rates the volume) based on the assumption it will remain steady until the bar completes. This is a beginning point from which to begin searching for formulas that can distinguish viable signals. I have extensively developed skills for cataloging data such as this and performing any analysis imaginable. Just so you know in case anyone has an idea worth exploring and needs help implementing it. I don't have anything forsale and never will. I abhor that category of failed traders who fleece sheep to cover their trading losses.
×
×
  • Create New...

Important Information

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