NexusFi: Find Your Edge


Home Menu

 





Late automated trade entry with Color bar Alert


Discussion in Sierra Chart

Updated
    1. trending_up 1,315 views
    2. thumb_up 3 thanks given
    3. group 4 followers
    1. forum 8 posts
    2. attach_file 3 attachments




 
Search this Thread

Late automated trade entry with Color bar Alert

  #1 (permalink)
oatwillie
houston tx
 
Posts: 8 since May 2015
Thanks Given: 3
Thanks Received: 1

This is a very simple Alert being used

=CROSSFROMABOVE(ID18.SG1, ID19.SG1) to create a Color Bar Alert ID14.SG1

=ID14.SG1@3>0 is entered in cell M3 for Sell Entry. The Color Bar Alert is set to -Evaluate on Close-.

The Alert appears under the correct conditions on the close of the bar/candle (it's a Range bar), the trade arrow appears under the Alert indicator (Diamond) but the trade entry is not on the next bar but on the second bar after the alert.

What am I missing here ?

thanks!


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
How to apply profiles
Traders Hideout
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #2 (permalink)
 Sawtooth 
Prescott AZ USA
 
Experience: Advanced
Platform: SierraChart
Broker: Stage5, FCM:Dorman, Data:Denali, Routing:Teton
Trading: YM ES NQ
Posts: 474 since Nov 2009
Thanks Given: 219
Thanks Received: 603

You could bypass the color bar output and instead directly use the spreadsheet's syntax for the signal in M3:
=CROSSFROMABOVE(ID18.SG1@3:ID18.SG1@4,ID19.SG1@3:ID19.SG1@4)

Reply With Quote
Thanked by:
  #3 (permalink)
oatwillie
houston tx
 
Posts: 8 since May 2015
Thanks Given: 3
Thanks Received: 1


Will eliminating the color bar alert and using the above code in the spreadsheet eliminate the lag in trade execution?

Or, is the lag in execution simply part of using Evaluate on Close parameter?

Reply With Quote
  #4 (permalink)
oatwillie
houston tx
 
Posts: 8 since May 2015
Thanks Given: 3
Thanks Received: 1

OK, I tried it both ways, Color Bar Alert/Evaluate on Close and the Spreadsheet Syntax that you suggested.

I have both versions of alerts for buy entry K3 and sell entry M3. It's about as simple alert as there is.

Both entries with each version were one bar late running in simulation mode. Screen caps attached.

Is there something in the Spreadsheet Study parameters that would cause this?

I can put up screen capture of how that is set.

Current version of SC. I really don't get this... and I appreciate the help greatly.


Attached Thumbnails
Click image for larger version

Name:	color bar alert, late entry 1.PNG
Views:	195
Size:	5.8 KB
ID:	270069   Click image for larger version

Name:	spreadsheet syntax, late entry 1.PNG
Views:	191
Size:	7.2 KB
ID:	270072  
Reply With Quote
  #5 (permalink)
oatwillie
houston tx
 
Posts: 8 since May 2015
Thanks Given: 3
Thanks Received: 1

Standby, I may have spoken too soon, something else is going on.

It seems like with the Spreadsheet Syntax it's not waiting for the Evaluate on Close, but doing the trade in the bar that has the alert as soon as the alert goes off.

Let me run thru this a few more times.

Reply With Quote
  #6 (permalink)
 Sawtooth 
Prescott AZ USA
 
Experience: Advanced
Platform: SierraChart
Broker: Stage5, FCM:Dorman, Data:Denali, Routing:Teton
Trading: YM ES NQ
Posts: 474 since Nov 2009
Thanks Given: 219
Thanks Received: 603


oatwillie View Post
Standby, I may have spoken too soon, something else is going on.

It seems like with the Spreadsheet Syntax it's not waiting for the Evaluate on Close, but doing the trade in the bar that has the alert as soon as the alert goes off.

Let me run thru this a few more times.

You must set 'Signal Only On Bar Close (K,M)' to Yes.

The Alerts tab is not used in this study, except that 'Enabled' must be checked. The other check boxes on the Alerts tab are ignored.

Reply With Quote
Thanked by:
  #7 (permalink)
oatwillie
houston tx
 
Posts: 8 since May 2015
Thanks Given: 3
Thanks Received: 1

Ok let me set that up.

Thank you!

Reply With Quote
  #8 (permalink)
oatwillie
houston tx
 
Posts: 8 since May 2015
Thanks Given: 3
Thanks Received: 1

"we are not worthy, we are not worthy..."

That did it.
I also tried it with the Color Bar Alert but with the Alert not having the Evaluate on Close parameter in the Alert but in the 'Signal Only On Bar Close (K,M)' parameter set .

It's confusing as I thought having the Alert with Evaluate on Close would give the same result but it obviously (now to me anyway) does not. I think I understand why.

Thank you so much Tom.

Reply With Quote
  #9 (permalink)
 Harejo 
Copiague, NY, US
 
Experience: Beginner
Platform: TOS
Trading: /NQ, /CL
Posts: 7 since Nov 2019
Thanks Given: 14
Thanks Received: 1

@tomgilb Please can you help? I'm testing out a simple auto trade strategy but the market orders are filling 5 points from arrows. Any way I can combat this? Thanks

Reply With Quote




Last Updated on December 14, 2019


© 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