Setting Session / Signal Time Code for an Indicator - EasyLanguage Programming | futures io social day trading
futures io futures trading

Setting Session / Signal Time Code for an Indicator
Updated: Views / Replies:506 / 1
Created: by timothymhanna Attachments:1

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Thread Tools Search this Thread

Setting Session / Signal Time Code for an Indicator

  #1 (permalink)
Trading Apprentice
Detroit, MI
Trading Experience: Advanced
Platform: NinjaTrader
Favorite Futures: ES
Posts: 15 since Oct 2010
Thanks: 0 given, 3 received

Setting Session / Signal Time Code for an Indicator


I'm trying to code the following: Chart details exactly what I'm trying to capture.

1) If a current bar has a high higher than any bar from the start of today's session (18:00 EST) AND a close that is below the high from today's session (excluding this current bar setting the new high), plot a Bull Trap signal. What is the code for setting specific session times for the indicator?

When I change below code to HighD(0) to try to plot a break of current session's high, I don't get anything back..

As a test to see if anything would plot, I tried previous day's high; but my session times are not correct, as you see from the chart.

2) If the high today breaks previous day high but closes below, plot PDH Bull Trap. (I dont know how to get my session times to reflect starting at 18:00 EST to start a day's high. It calculates from midnight..)

Does anybody have an idea of how to code this properly? Below is my code for just having High > HighD(1)

Please register on to view futures trading content such as post attachment(s), image(s), and screenshot(s).

If High > HighD(1)
Plot1(High[0], "Bull Trap");
Value1= Text_New(Date, Time, High[1]+20,"Bull"+Newline+"Trap");
Text_SetColor(Value1, Red);
NoPlot(1);{remove the market}

Value2 = HighD(1);
Plot2(Value2, "PDH");

Reply With Quote
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


futures io > > > > > Setting Session / Signal Time Code for an Indicator

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

Journal Challenge $1600 in Prizes & Free Journalytix for all participants!


Trading Resolutions for 2019 - Avoiding Mistakes w/GFF Brokers

Feb 19

3 Excellent Entries, and How To Automate Them w/Kevin Davey

Feb 21

The Driving Force Behind the Market w/Earn2Trade

Mar 5

TBA w/Stage5 & iSystems

Mar 12

TBA w/John Grady @ No BS Day Trading

Mar 19

Day Trading Oil Futures: Reducing Risk & Increasing Profits w/DTN IQFeed

Mar 26

Similar Threads
Thread Thread Starter Forum Replies Last Post
help code multiple Time Frame indicator ttmarok ThinkOrSwim Programming 25 March 3rd, 2014 09:42 PM
Setting Session Template with NinjaScript Ash669 NinjaTrader Programming 4 May 11th, 2013 03:36 AM
Help please: Sierra Chart Daily OHLC Indicator and Alert time setting Rui S Sierra Chart 4 November 3rd, 2012 06:52 PM
Stock Exchange Session / Time Color Indicator drunkcolonel NinjaTrader 10 October 2nd, 2012 11:49 AM
Signal Trailing stop loss not working as per code. KumarHarsh EasyLanguage Programming 7 September 17th, 2012 04:25 AM

code, easylanguage, futures, how to, indicator, indicators, information, multicharts, neoticker, new high, signal, tradestation

All times are GMT -4. The time now is 06:26 PM. (this page content is cached, log in for real-time version)

Copyright © 2019 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432 WhatsApp Business,
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.
no new posts
Page generated 2019-02-19 in 0.17 seconds with 15 queries on phoenix