NexusFi: Find Your Edge


Home Menu

 





mi primer y sencillo script


Discussion in Spanish Traders

Updated
    1. trending_up 1,847 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?
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
EA
Platforms and Indicators
No book, only a stair: journaling fills where price move …
Cryptocurrency
Trump Media to sell instant access to market-moving soci …
Traders Hideout
My Rant with AMP Futures
Trading Reviews and Vendors
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Mes vs MNQ
6 thanks
NexusFi site changelog and issues/problem reporting
5 thanks
BERN ALGOS algo trading journal
3 thanks
TopStep Trader disappointment
2 thanks
Johnnys Journal
2 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