NexusFi: Find Your Edge


Home Menu

 





Late automated trade entry with Color bar Alert


Discussion in Sierra Chart

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




 
Search this Thread
  #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?
Kharg Island at 6%, Regime Fall at 1.5% -- The Black Swa …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
One Wallet Made $200K in Hours: AP Probes Polymarket Cea …
Prediction Markets & Event Contracts
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
CFTC Opens First COT Report Review in 20 Years -- Asks W …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 thanks
  #2 (permalink)
 Sawtooth 
Prescott AZ USA
 
Experience: Advanced
Platform: SierraChart
Broker: EdgeClear, FCM:Phillip, Data:Denali, Routing:Teton
Trading: YM RTY ES NQ
Posts: 480 since Nov 2009
Thanks Given: 222
Thanks Received: 608

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:	294
Size:	5.8 KB
ID:	270069   Click image for larger version

Name:	spreadsheet syntax, late entry 1.PNG
Views:	275
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: EdgeClear, FCM:Phillip, Data:Denali, Routing:Teton
Trading: YM RTY ES NQ
Posts: 480 since Nov 2009
Thanks Given: 222
Thanks Received: 608


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


© 2026 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 - Downloads - Top
no new posts