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.

jeffersondaarcy

Members
  • Content Count

    35
  • Joined

  • Last visited

Everything posted by jeffersondaarcy

  1. Put simply, I do not understand these terms and their usages (hence why I asked for clarification in post#13). Therefore, I cant answer your questions. I'm not dodging them. Are their any examples that would clear things up for me?
  2. Thanks Tams #5: My goal is to eventually be able to scan during market hours and find stocks that fit a specific set-up. For example, I would like a scan to be able to pick-up a stock that is within .5% of a gap that was created a month ago. Identifying the gap would be based off of historical data but knowing the gap is about to be breached would be based off of live data (correct? Do I have this right?). #9 I am analyzing all stocks via the scanner (using my EL code) to identify stocks that fit a certain set-up (determined by EL code). I may also use this code as an analysis technique on a specific chart. Hope this made sense. Thanks again.
  3. Tams, as mentioned in the first post, my main intentions with the ShowMe study was simply to practice EasilyLanguage in hopes of becoming somewhat proficient. Scanning for stocks that are up 10% was simply an exercise I created for myself to test my understanding of EL. I guess I could have done a better job of explaining that. I can read and re-read the definition of "last" or "quote field" a million times and they're never going to make sense to me. I'm obviously programming illiterate. My confusion isn't due to lack of effort. A simple explanation of "last," "quote field," and the programming relationship between "live and historic data" would be incredibly appreciated. I'm just looking for some help and trying to learn, that's all.
  4. Herein lies my confusion: The code references the "close" of yesterday's daily bar (close[1]); therefore, if I use "close" in regards to today, will the scan still work since technically the daily bar for today wont have a "close" for another six hours (assume it is 10:00am Eastern)? That is why I used "last," because I need the up-to-the-second price when running a scan (which is based off the ShowMe that identifies stocks that are up 10% or more on the day). I obviously misconstrued something along the way when reading through the EasyLanguage PDFs. Your clarification is greatly appreciated. Thanks again.
  5. Thanks Tams. I am looking to compare live data (the price of the last completed trade of a specific stock) to historical data (the previous day's close). I would like to be able to use this ShowMe study in the scanner during market hours to find tradeable opportunities. I incorporated the changes and it appears the original issue is back (see screenshot). Variables: SMDot(0), FoundPattern(False); SMDot= ((high+low)*.50); Condition1= last>(close[1]+(Close[1]*.10)); Condition2= Volume[1]>300000; Condition3= last>2 and last<60; FoundPattern= Condition1 and Condition2 and Condition3; if FoundPattern then begin plot1 (SMDot); end else begin noplot(1); end; Judging by your responses, I assume this issue is a result of "last?" Thanks
  6. Hi Tams, Thanks for helping me out, I really I appreciate. I incorporated the escape clause and cleaned up my variables, so my code is tighter. I now have a new issue though. The screenshot speaks for itself (look at $26). Both versions of the below code give me the same plot result. Any suggestions in regards to where I am going wrong? In regards, to your "last" vs. "close" post, I was hoping to run scans (via TS scanner) during trading hours; therefore, I was planning on using "last." Are their any issues with "last" and scans that I dont know about (I dont subscribe to Radarscan). VERSION1 Variables: SMDot((high+low)*.50), FoundPattern(False); Condition1= last>(close[1]+(Close[1]*.10)); Condition2= Volume[1]>300000; Condition3= last>2 and last<60; if Condition1 and Condition2 and Condition3 then begin FoundPattern=true; end else begin FoundPattern=false; end; if FoundPattern then begin plot1 (SMDot); end; VERSION2 (only difference between V2 and V1 is that V2 has an "escape clause" for the plot section as well) Variables: SMDot((high+low)*.50), FoundPattern(False); Condition1= last>(close[1]+(Close[1]*.10)); Condition2= Volume[1]>300000; Condition3= last>2 and last<60; if Condition1 and Condition2 and Condition3 then begin FoundPattern=true; end else begin FoundPattern=false; end; if FoundPattern then begin plot1 (SMDot); end else begin noplot(1); end; Thanks again Tams
  7. Hey Guys, I've spent the past week reading through the available online EasyLanguage PDFs in hopes of eventually creating some basic scans to help filter tradeable stocks. As an exercise, I figured I would create a ShowMe with a few conditions. The main condition is that the "last" is 10% greater than yesterday's close. I cant get this to work for the life of me. I have attached the code I am working with and a few screenshots of the ShowMe. You'll notice one of the screenshots is for a stock that is up 8% (not 10%). No clue why this stock meets the conditions. Any and all help, advice, etc. would be greatly appreciative to this newbie. Variables: FoundPattern( False ); Value1 = ((high+low)*.5); Condition1= last>(close[1]+(Close[1]*.10)); Condition2= Volume[1]>300000; Condition3= last>2 and last<60; if Condition1 and condition2 and condition3 then begin foundpattern=true; end; if foundpattern then begin plot1 (value1); end; Thanks again.
  8. Hey Guys, I was wondering if you guys knew if it was possible to get daily moving averages on a five minute chart in tradestation. Unfortunately, everything I can find is based off of bars on a chart as opposed to days. Thanks, Matt
×
×
  • Create New...

Important Information

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