NexusFi: Find Your Edge


Home Menu

 





mi primer y sencillo script


Discussion in Spanish Traders

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




 
Search this Thread
  #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?
Warsh Confirmed 54-45 on PPI Day -- 97% Say He Holds in …
Prediction Markets & Event Contracts
Hormuz Surges From 14% to 26.5% Intraday as Irans Answer …
Prediction Markets & Event Contracts
Double Deadlock: Rubio Calls Hormuz Tolls "Unfeasib …
Traders Hideout
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
The June 15 Resolution Trap: Irans Agreed Text Still Pri …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
30 Sessions
6 thanks
MES Trader Journal & Market Structure Discussion
5 thanks
Extending webinars availability: Flash Webinar Conversio …
3 thanks
Mahas First Journal
2 thanks
Franks Trading Journey
1 thanks
  #2 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,550 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,427


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,550 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,427


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


© 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