Postby daybuck » Thu Feb 04, 2016 5:59 pm
Finally.. I am honored to have the privilege to communicate with you. Thanks for your attention and response. The following is the code:
/* TRO STAT SCAN - TRAVEL GUIDE - TARGET EDITION */
set{xRange, high - low}
set{AvgRng, cma(xRange,5) }
set{HiOp, High - Open }
set{RunPCT, HiOp/open }
set{AvgRun5, cma(HiOp,5) }
set{RunTgt, open + AvgRun5 }
set{HiCl, High - Close }
set{PBPCT, HiCl/open }
set{AvgPB5, cma(HiCl,5) }
set{PBTgt, High - AvgPB5 }
set{ClLo, Close - low }
set{BouncePCT, ClLo/open }
set{AvgBounce5, cma(ClLo,5) }
set{BounceTgt, Low + AvgBounce5 }
set{OpLo, Open - low}
set{DropPCT, OpLo/open }
set{AvgDrop5, cma(OpLo,5) }
set{DropTgt, Open - AvgDrop5 }
set{Green, count( close > open , 100)}
set{B10A, count(RunPCT > .10 , 100)}
set{A10A, count(RunPCT > .10 , 1)}
set{chg, sum( A10A - A10A 1 day ago ,5)}
and add column separator
and add column RunTgt
and add column DropTgt
and add column BounceTgt
and add column PBTgt
and add column separator
add column RunPCT{R(today)}
add column PBPCT{P(today)}
add column DropPCT{D(today)}
add column BouncePCT{B(today)}
/* SELECTION CRITERIA */
apply symlist(qqq,iwm,nflx,fb,gild,aapl)
sort column 1 Ascending
I added stocks/etf's I like to trade. There is not always a problem but more often than not the issue arises. For example, today at 12:30pm I ran the scan. For IWM, the current price (delayed on stockfetcher) was 100.80, the run target was 101.20 and the pullback target was 101.24......
Sometimes there is an even greater difference in the returns that just make no sense, almost to the point that it looks like the numbers should be reversed.....
Should the scan only be run one time during market hours or can it be run multiple times during the day? What if, after the scan is run in the morning after market opens, the target high is hit for example and you take the trade short and later exit the trade, the stock reverses and later in the day hits a new high.....can the scan be run again for a new trade or is it just accurate with today's open price for the entire day? Sorry to ramble. Hope you understand my question. Thank again for the attention.