NexusFi: Find Your Edge


Home Menu

 





Inside Bar Indicator


Discussion in EasyLanguage Programming

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




 
Search this Thread

Inside Bar Indicator

  #1 (permalink)
 
Mickey Caine's Avatar
 Mickey Caine 
Kent, England
 
Experience: Intermediate
Platform: Sierra
Broker: Infinity
Trading: Oil
Posts: 196 since Jul 2009
Thanks Given: 1,605
Thanks Received: 354

Tradestation has a built in indicator for an inside bar (Below) However it does not print if either the high or low is equal to the prior bar. I did try typing in or = after the < . but it did not like my logic. Can anyone please tell where to put the equal bit

Thanks in advance.

if High < High[1] and Low > Low[1] then
begin
Plot1( Close, "Inside" ) ;
Alert ;
end
else
NoPlot( 1 ) ; { remove the marker }

Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
MC PL editor upgrade
MultiCharts
NexusFi Journal Challenge - May 2024
Feedback and Announcements
REcommedations for programming help
Sierra Chart
Exit Strategy
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
35 thanks
Tao te Trade: way of the WLD
25 thanks
Bigger Wins or Fewer Losses?
24 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #3 (permalink)
 RM99 
Austin, TX
 
Experience: Advanced
Platform: TradeStation
Trading: Futures
Posts: 839 since Mar 2011
Thanks Given: 124
Thanks Received: 704



Mickey Caine View Post
Tradestation has a built in indicator for an inside bar (Below) However it does not print if either the high or low is equal to the prior bar. I did try typing in or = after the < . but it did not like my logic. Can anyone please tell where to put the equal bit

Thanks in advance.

if High < High[1] and Low > Low[1] then
begin
Plot1( Close, "Inside" ) ;
Alert ;
end
else
NoPlot( 1 ) ; { remove the marker }

Proper EL is <= or >=

Is that what you're asking?

Reply With Quote
Thanked by:
  #4 (permalink)
 
Mickey Caine's Avatar
 Mickey Caine 
Kent, England
 
Experience: Intermediate
Platform: Sierra
Broker: Infinity
Trading: Oil
Posts: 196 since Jul 2009
Thanks Given: 1,605
Thanks Received: 354

I did not know if that was what I was asking, but as it turned out, it was. Indicator now does exactly what I want.

Thank very much for your reply.

Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on March 22, 2011


© 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