NexusFi: Find Your Edge


Home Menu

 





Inside Bar Indicator


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #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?
Memorandum Watch: How the 60-Day MOU Framework Makes May …
Prediction Markets & Event Contracts
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
Warsh Rate Hike at 40%, Iran June 15 Expires Tonight at …
Prediction Markets & Event Contracts
I Have a Thing Called Iran -- Trump Stays in DC as Airsp …
Prediction Markets & Event Contracts
 
  #3 (permalink)
 RM99 
Austin, TX
 
Experience: Advanced
Platform: TradeStation
Trading: Futures
Posts: 838 since Mar 2011
Thanks Given: 124
Thanks Received: 705



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


© 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