NexusFi: Find Your Edge


Home Menu

 





mi primer y sencillo script


Discussion in Spanish Traders

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




 
Search this Thread

mi primer y sencillo script

  #1 (permalink)
giger2000
Barcelona
 
Posts: 15 since Sep 2013
Thanks Given: 1
Thanks Received: 2

Hola,

me gustaría registrar en una variable el máximo o mínimo de una barra, en concreto 3 antes que la barra actual. Alguien me puede ayudar?. Mi nivel es muy bajo

Gracias

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
Cheap historycal L1 data for stocks
Stocks and ETFs
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
  #2 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,633 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,426


giger2000 View Post
Hola,

me gustaría registrar en una variable el máximo o mínimo de una barra, en concreto 3 antes que la barra actual. Alguien me puede ayudar?. Mi nivel es muy bajo

Gracias

The values (I think you require) are already available as High[3] and Low[3] in any indicator or strategy - hope this makes sense? So for example Low[0] would be for the current active bar and High[1] would be for the previous just closed bar.

Travel Well
Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
giger2000
Barcelona
 
Posts: 15 since Sep 2013
Thanks Given: 1
Thanks Received: 2



ratfink View Post
The values (I think you require) are already available as High[3] and Low[3] in any indicator or strategy - hope this makes sense? So for example Low[0] would be for the current active bar and High[1] would be for the previous just closed bar.

Gracias. He usado el Wizard y he podido hacerla correctamente, pero mi duda ahora es la siguiente:

1.- Miro máximo de las últimas 2 barras
2.- En caso de cumplir una condición me lanza compra pero en la nueva barra.

Realmente, lo que quiero es que me posiciones una compra permanentemente, a X ticks del máximo de la barra anterior High[3]

Reply With Quote
  #4 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,633 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,426


giger2000 View Post
Gracias. He usado el Wizard y he podido hacerla correctamente, pero mi duda ahora es la siguiente:

1.- Miro máximo de las últimas 2 barras
2.- En caso de cumplir una condición me lanza compra pero en la nueva barra.

Realmente, lo que quiero es que me posiciones una compra permanentemente, a X ticks del máximo de la barra anterior High[3]

I'm not sure you could easily do that in the Wizard, a custom NinjaScript might be needed, but I'm no Wizard user let alone expert to know for certain.

Travel Well
Visit my NexusFi Trade Journal Reply With Quote




Last Updated on October 11, 2013


© 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