NexusFi: Find Your Edge


Home Menu

 





Reversal Candle Code Request


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one wccktrader with 2 posts (1 thanks)
    2. looks_two ceramictilepro with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 cory with 1 posts (2 thanks)
    1. trending_up 2,621 views
    2. thumb_up 3 thanks given
    3. group 3 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread

Reversal Candle Code Request

  #1 (permalink)
 ceramictilepro 
Roseville CA
 
Experience: Advanced
Platform: N7
Broker: Amp Futures/CQG
Trading: ES
Posts: 124 since Jun 2009
Thanks Given: 32
Thanks Received: 21

Can anyone tell me how to code the following and thx!

Current bar (closed) has a lower low than prior bar and closes in the upper half of current bar

 
Code
L[0] < L[1] && ???

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Quantum physics & Trading dynamics
The Elite Circle
Better Renko Gaps
The Elite Circle
What broker to use for trading palladium futures
Commodities
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
22 thanks
What is Markets Chat (markets.chat) real-time trading ro …
19 thanks
ApexTraderFunding.com experience and review
15 thanks
GFIs1 1 DAX trade per day journal
15 thanks
EG Indicators
11 thanks
  #3 (permalink)
 
wccktrader's Avatar
 wccktrader 
Singapore
 
Experience: Intermediate
Platform: NinjaTrader, Sierra Charts
Broker: Thinkorswim, IQFeed
Trading: Options of SPY, IWM, QQQ
Posts: 47 since Nov 2010
Thanks Given: 54
Thanks Received: 149



ceramictilepro View Post
Can anyone tell me how to code the following and thx!

Current bar (closed) has a lower low than prior bar and closes in the upper half of current bar

 
Code
L[0] < L[1] && ???


Low[0] < Low[1]

&& Close[0] > (High[0] - ((High[0]-Low[0]) /2))

Reply With Quote
Thanked by:
  #4 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090

( Low[0] < Low[1] &&

Close[0] > (High[0] + Low[0]) /2 )

Reply With Quote
Thanked by:
  #5 (permalink)
 
wccktrader's Avatar
 wccktrader 
Singapore
 
Experience: Intermediate
Platform: NinjaTrader, Sierra Charts
Broker: Thinkorswim, IQFeed
Trading: Options of SPY, IWM, QQQ
Posts: 47 since Nov 2010
Thanks Given: 54
Thanks Received: 149


cory View Post
( Low[0] < Low[1] &&

Close[0] > (High[0] + Low[0]) /2 )

Shorter and more efficient!

Reply With Quote
  #6 (permalink)
 
eDanny's Avatar
 eDanny 
East Rochester, NY
 
Experience: Intermediate
Platform: NT
Posts: 329 since Jul 2009
Thanks Given: 18
Thanks Received: 425

if(Low[0] < Low[1] && Close[0] > Median[0])
{
Dance a Cha Cha!
}

Reply With Quote
  #7 (permalink)
 Ralph07 
London UK
 
Experience: Advanced
Platform: NinjaTrader, TT
Broker: Mirus
Trading: CL, Dax, ES, Eurostoxx50
Posts: 121 since Oct 2010
Thanks Given: 23
Thanks Received: 46

Hello guys,

I would be interested in inserting this script of the reversal bar in NinjaTrader...
Could you please tell me how I can use it? Edit NinjaScript?
Is it possible to add a sound or is too difficult?

Many thanks

Reply With Quote




Last Updated on August 31, 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