NexusFi: Find Your Edge


Home Menu

 





I need help with ... (ask any question)


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one bobwest with 153 posts (94 thanks)
    2. looks_two Big Mike with 88 posts (82 thanks)
    3. looks_3 Philip Hutchinson with 10 posts (0 thanks)
    4. looks_4 xplorer with 9 posts (6 thanks)
      Best Posters
    1. looks_one josh with 3.7 thanks per post
    2. looks_two Daytrader999 with 2.5 thanks per post
    3. looks_3 Big Mike with 0.9 thanks per post
    4. looks_4 bobwest with 0.6 thanks per post
    1. trending_up 100,788 views
    2. thumb_up 387 thanks given
    3. group 325 followers
    1. forum 587 posts
    2. attach_file 42 attachments




 
 

I need help with ... (ask any question)

 
 JC195461 
Redondo Beach, CA
 
Experience: Beginner
Platform: TOS & TS
Trading: Options
Posts: 24 since Feb 2013
Thanks Given: 6
Thanks Received: 14

Hi Big Mike,

I hope you are ok.

I am looking for a Bar Overlay for renko Bars to smooth them out for Ninja 8.

Thank you,

[email protected]

Jeff

Thanked by:

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
NexusFi Journal Challenge - April 2024
Feedback and Announcements
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Deepmoney LLM
Elite Quantitative GenAI/LLM
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
 
 vaibhavkamble 
Parsippany, NJ, USA
 
Experience: Beginner
Platform: NinjaTrader
Trading: Currency Futures, Futures, Treasuries, Bonds
Posts: 20 since Mar 2019
Thanks Given: 53
Thanks Received: 6

@JC195461 if you are looking for time based bars overlay on renko then htech.net has MultiBars product that helps doing it.

Sent using the NexusFi mobile app

Thanked by:
 
Sharkie28
NORTH VANCOUVER
 
Posts: 5 since Jul 2016
Thanks Given: 0
Thanks Received: 3


We're here to help is not very helpful. I have posted a question on two occasions many many weeks ago and I have yet to have had any response whatsoever!!!

Thanked by:
 
ellinas
Cyprus, Nico
 
Posts: 33 since Mar 2019
Thanks Given: 10
Thanks Received: 9

Hello All,

I am using NinjaTrader NT7. I code my own strategy. My strat trades 3 instruments (futures). I want to have a pice of code which exits all my open positions (of the 3 instruments),and stop the strat for the rest of the day session IF the Total realizedPnL and Total unrealizedPnlL (from all these 3 instruments) is >= maxdailyprofit. For this reason I tried the following of code but seems not to work as expected.

//-------------------
....

Into the OBU, which includes the if (BarsInProgress == i , i=1,2,3), I write :

if( Positions[0].GetProfitLoss(Close[0], PerformanceUnit.Currency)
+ Positions[1].GetProfitLoss(Close[0], PerformanceUnit.Currency)
+ Positions[2].GetProfitLoss(Close[0], PerformanceUnit.Currency)
+ Performance.RealtimeTrades.TradesPerformance.Currency.CumProfit) > maxdailyprofit )

{

ExitAll = true; // ExitAll = bool variable

// ExitLong();
// ExitShort();

Print( GetAccountValue(AccountItem.RealizedProfitLoss)
+ Positions[0].GetProfitLoss(Close[0], PerformanceUnit.Currency)
+ Positions[1].GetProfitLoss(Close[0], PerformanceUnit.Currency)
+ Positions[2].GetProfitLoss(Close[0], PerformanceUnit.Currency)
+ " " + Time[0]);
}

//-----------------


foreach (var instrument in BarsArray)

{
foreach (Account acct in Cbi.Globals.Accounts)

{

if (acct.Positions != null && ExitAll )

{

PositionCollection positions = acct.Positions;

foreach (Position pos in positions)

{

if (BarsInProgress == 0 && pos.Account.Name == "Sim101" && pos.Instrument.FullName == "XX 12-20" )

{

if (Positions[0].MarketPosition == MarketPosition.Long )

{
ExitLong("");
}

if (Positions[0].MarketPosition == MarketPosition.Short )

{
ExitShort("");
}

}

//------------------------------------

if (BarsInProgress == 1 && pos.Account.Name == "Sim101" && pos.Instrument.FullName == "XX 12-20")

{

if (Positions[1].MarketPosition == MarketPosition.Long )

{
ExitLong("");
}

if (Positions[1].MarketPosition == MarketPosition.Short )

{
ExitShort("");
}

}

//----------------------------------

if (BarsInProgress == 2 && pos.Account.Name == "Sim101" && pos.Instrument.FullName == "XX 12-20")

{

if (Positions[2].MarketPosition == MarketPosition.Long )

{
ExitLong("");
}

if (Positions[2].MarketPosition == MarketPosition.Short )

{
ExitShort("");
}

}

//-------------------------------------


}

}

}

}



So, any suggestion would be much appreciated.

Thank you in advance

Thanked by:
 
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,398 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


Tradingguy007 View Post
Dear,

I have read many reviews but still lost.

I have backtested many strategies in Tradestation for a long time. Now I am looking for backtesting and optimization software for Stock/ETF. (only 1 symbol for 200 strategies took me for 6 months in TradeStation.)

My criterias are: Multi-strategy, multi-symbol, multi time frame, backtesting, parameter optimization, walkforward-analysis, and automated trading software for Stocks/ETF (forex is useful) and fast.

Maybe your area is different than mine but please give your thoughts on these software selections on most powerful fast reliable backtesting software.

At this time I am previewing

Multichart
Tradestation
amibroker
Metatrader 5
Metastock
StrategyQuantX
Quantconnect
Quantopian
smartquant
TradeIdeas
NinjaTrader


Thank you all very much for your help, assistance, and your knowledge towards choosing the right platform and save thousands of hours.

Thank you very much.
James

Welcome to the community, and thanks for your question. I've created a dedicated thread for it here:



Please use that thread for any further follow-ups.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread
Thanked by:
 
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,398 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


JC195461 View Post
Hi Big Mike,

I hope you are ok.

I am looking for a Bar Overlay for renko Bars to smooth them out for Ninja 8.

Thank you,

[email protected]

Jeff

Hi Jeff, thanks for your post. I've created a dedicated thread for you here:



In addition, you can find thousands of custom-made NinjaTrader indicators or if yours doesn't already exist, you simply ask for it in the Elite thread below:



Any further questions about this, please use one of those threads.

Thank you,
Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread
Thanked by:
 
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,398 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


Sharkie28 View Post
We're here to help is not very helpful. I have posted a question on two occasions many many weeks ago and I have yet to have had any response whatsoever!!!

Hi @Sharkie28, you are absolutely correct in that we made an error! If you follow this thread post-by-post, you'll see that somehow I accidentally skipped over your request. My apologies! I believe it was probably because I had to take special action to ban the member right next to your post, which apparently distracted me enough to forget to reply to your post. Very sorry.

You've asked many questions in a single post, so I've had to create multiple threads for your questions.

Here is the first:



Here is the second:



Here is the third:



If you have any further follow-up questions, please post them in their respective threads above. If you still continue to not receive any responses, it is probably because people are not understanding you well or the question is too broad. For example, of course people trade all kinds of Treasuries here, so asking that is very broad. You should ask something more specific in that case probably.

Thank you,
Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread
Thanked by:
 
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,398 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


ellinas View Post
Hello All,

I am using NinjaTrader NT7. I code my own strategy. My strat trades 3 instruments (futures). I want to have a pice of code which exits all my open positions (of the 3 instruments),and stop the strat for the rest of the day session IF the Total realizedPnL and Total unrealizedPnlL (from all these 3 instruments) is >= maxdailyprofit. For this reason I tried the following of code but seems not to work as expected.

//-------------------
....

So, any suggestion would be much appreciated.

Thank you in advance

Thank you for the question and post. I've created a new dedicated thread for your question below:



Please use that thread for any follow-up questions about this. I also just want to mention that there is an existing thread where Elite Members help other Elite Members to create NinjaTrader strategies for free:



It might be useful to other Elite Members reading this now, or to yourself in the future should you decide to support the community and become an Elite Member in the future.

Thanks,
Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread
Thanked by:
 
ellinas
Cyprus, Nico
 
Posts: 33 since Mar 2019
Thanks Given: 10
Thanks Received: 9

[QUOTE=ellinas;827314
]Hello All,

 
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,398 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537



ellinas View Post
Hello All,

Hi, your message was not posted correctly. Please try again.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread

 



Last Updated on February 22, 2024


© 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