NexusFi: Find Your Edge


Home Menu

 





Stochastics indicator that sends email alert


Discussion in NinjaTrader

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




 
Search this Thread

Stochastics indicator that sends email alert

  #1 (permalink)
 incoz 
Cozumel, Mexico
 
Experience: Intermediate
Platform: IB + Ninjatrader
Trading: Forex
Posts: 3 since Feb 2012
Thanks Given: 42
Thanks Received: 0

Hi all, I'm new to NinjaTrader and I have a pretty basic question. I want to add a "send email" function to the Stochastics indicator so that I can add it to the Market Analyzer window and have NT send me an email alert every time Stochastics is overbought/sold. Do I need to hire a programmer to create a custom indicator or does something like this already exist in freeland?

Thanks for any advice you can offer.....

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
Futures True Range Report
The Elite Circle
Online prop firm The Funded Trader (TFT) going under?
Traders Hideout
ZombieSqueeze
Platforms and Indicators
 
  #2 (permalink)
 fctrader 
Fort Collins, Colorado
 
Experience: Intermediate
Platform: NT7
Trading: ES
Posts: 57 since Feb 2011
Thanks Given: 48
Thanks Received: 45

From Ninjatrader help

Quoting 
SendMail()



Definition

Sends an email message.



Syntax

SendMail(string from, string to, string subject, string text)




* Calls to this method are ignored on historical data, it will only work in real-time.



Parameters

from
From email address

to
To email address

subjecet
Subject line of email

text
Message body of email






Examples

// Generates an email message

SendMail("support@NinjaTrader.com", "customer@winners.com", "Trade Alert", "Buy ES");

Something like
 
Code
if(Stochastics(7,14,3).D[1] < 20 )
{
SendMail("[email protected]", "[email protected]", "Trade Alert", "YourStock is OverSold");
}
should work.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on February 28, 2012


© 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