NexusFi: Find Your Edge


Home Menu

 





Scanner Indicator = No Results


Discussion in EasyLanguage Programming

Updated
    1. trending_up 1,787 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 1 attachments




 
Search this Thread

Scanner Indicator = No Results

  #1 (permalink)
SwingStockTrader
Palm Springs
 
Posts: 5 since Jun 2014
Thanks Given: 2
Thanks Received: 0

Hi:

The following Indicator was produced to screen stocks that where experiencing a bottom turning point. The Center of Gravity Indicator is a heavily front weighted moving avg. Center of Gravity actually has very little lag and allows you to detect turning points precisely. I wanted to utilize this indicator in a scanner to find good entry prospects.

Can anyone suggest why I am not returning any results form this indicator?

Any improvement suggestions will be greatly appreciated.

Thanks, Michael

{Center of Gravity Turning Point}
VARS:COG(0),COGTP(2),VOLTP(2);

COG = 1*(

+ (256 * C[0])
+ (128 * C[1])
+ (64 * C[2])
+ (32 * C[3])
+ (16 * C[4])
+ (8 * C[5])
+ (4 * C[6])
+ (2 * C[7])
+ (1 * C[8])

)/(

+ (C[0])
+ (C[1])
+ (C[2])
+ (C[3])
+ (C[4])
+ (C[5])
+ (C[6])
+ (C[7])
+ (C[8])

);

If COG[0] > COG[1] AND COG[1] < COG[2] AND COG[2] < COG[3] AND COG[4] < COG[5]
Then COGTP= 1 ELSE COGTP = 2;

If V[0] > (V[1] + V[2] + V[3]/3)
Then VOLTP = 1 ELSE VOLTP =2;

Plot1 (COG,"COG-C");
Plot2 (COGTP,"TP");
Plot3 (VOLTP, "VOLTP")

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
Exit Strategy
NinjaTrader
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627


SwingStockTrader,

what are the scan conditions you are checking for?

Regards,
ABCTG

Follow me on Twitter Reply With Quote
  #4 (permalink)
SwingStockTrader
Palm Springs
 
Posts: 5 since Jun 2014
Thanks Given: 2
Thanks Received: 0

Thanks ABCTG:

Scan conditions are:

COGTP= 1 And / Or VOLTP = 1

This should indicate that closing price as indicated by COG has encountered a bottom yesterday and has turned up today.

Vol today is greater than avg vol for the last 3 days.

From within the scanner window I am entering the COG-TP Indicator as a condition and checking to see if it equals 1.

Michael

Reply With Quote
  #5 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

Michael,

make sure you load additional data under the scan criteria. As the indicator needs at least 8 bars to compute the values.


Without the additional data I don't get results either, but with it I do.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #6 (permalink)
SwingStockTrader
Palm Springs
 
Posts: 5 since Jun 2014
Thanks Given: 2
Thanks Received: 0

That was it. I would have never thought of it.

Thanks, Michael

Reply With Quote




Last Updated on July 17, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts