NexusFi: Find Your Edge


Home Menu

 





Stochastics indicator that sends email alert


Discussion in NinjaTrader

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




 
Search this Thread
  #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?
Would a node-based workflow for automated trading be useful?
Traders Hideout
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
Daytrading to swingtrading
Traders Hideout
Thanks Mike. Godspeed.
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 thanks
BERN ALGOS algo trading journal
1 thanks
Afternoon-close session
1 thanks
  #2 (permalink)
 fctrader 
Fort Collins, Colorado
 
Experience: Intermediate
Platform: NT7
Trading: ES
Posts: 56 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


© 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