NexusFi: Find Your Edge


Home Menu

 





EasyLanguage Inside bar Code


Discussion in Traders Hideout

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




 
Search this Thread
  #1 (permalink)
 ilu007 
New York + US
 
Experience: Intermediate
Platform: MultiCharts
Trading: Indian Stocks
Posts: 40 since Aug 2015
Thanks Given: 10
Thanks Received: 2

Hi Everyone...

My name is Ilyas. I am looking for the strategy code

It is a three bar strategy where second bar is Inside Bar of previous bar.
Lets called it as A,B,C... Where B is Inside Bar ( Please look the image).. C bar is trigger bar ... I want to buy next bar on Close if C bar closes above A bar and Mom > 0... Please help in making a strategy and Painting C bar... I know the code which can be used in Genesis Trade Navigator..

High< High[1] and Low> Low[1] and Next Bar Close > High[2] and Mom > 0 ;

I'm finding difficulty in coding "Next Bar Close" Which function can I use so that it can reflect Next Bar Close...

Your Instataneous reply will be highly appreciated.


Attached Thumbnails
Click image for larger version

Name:	IB.jpg
Views:	222
Size:	8.3 KB
ID:	190794  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
April CPI Preview: +3.7% YoY Expected at 8:30 AM ET -- C …
Traders Hideout
Trump Lands in Beijing on CPI Day: Iran Peace Expires To …
Prediction Markets & Event Contracts
Ninjatrader users - good CONNECTIONs post and article fr …
NinjaTrader
Wood Mackenzie Drops $200 Oil Forecast -- Airspace Expir …
Prediction Markets & Event Contracts
CPI Eve: Fed Hike Odds Hold at 52% for the First Time, I …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
3 thanks
  #3 (permalink)
 solotrader 
Cyprus
 
Posts: 68 since Jul 2013



ilu007 View Post
Hi Everyone...

My name is Ilyas. I am looking for the strategy code

It is a three bar strategy where second bar is Inside Bar of previous bar.
Lets called it as A,B,C... Where B is Inside Bar ( Please look the image).. C bar is trigger bar ... I want to buy next bar on Close if C bar closes above A bar and Mom > 0... Please help in making a strategy and Painting C bar... I know the code which can be used in Genesis Trade Navigator..

High< High[1] and Low> Low[1] and Next Bar Close > High[2] and Mom > 0 ;

I'm finding difficulty in coding "Next Bar Close" Which function can I use so that it can reflect Next Bar Close...

Your Instataneous reply will be highly appreciated.

You are looking for an inside day with a lose breakout above the high of first bar?

If so, this is the code:

h[2} > h[1] AND l[1] > l[2] and c > h[2]


Reply With Quote
  #4 (permalink)
 ilu007 
New York + US
 
Experience: Intermediate
Platform: MultiCharts
Trading: Indian Stocks
Posts: 40 since Aug 2015
Thanks Given: 10
Thanks Received: 2


solotrader View Post
You are looking for an inside day with a lose breakout above the high of first bar?

If so, this is the code:

h[2} > h[1] AND l[1] > l[2] and c > h[2]

Thank you Solotrader... & One more favour.... If I want the PT and SL to be the first bar which is referenced here as H[2].. then what will be the possible code.. is it Range[2]... & whether it is to be declared as Variables...


Started this thread Reply With Quote




Last Updated on August 23, 2015


© 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