NexusFi: Find Your Edge


Home Menu

 





PriceActionSwing discussion


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Silvester17 with 177 posts (570 thanks)
    2. looks_two dorschden with 99 posts (1,124 thanks)
    3. looks_3 Big Mike with 52 posts (90 thanks)
    4. looks_4 jmont1 with 51 posts (23 thanks)
      Best Posters
    1. looks_one dorschden with 11.4 thanks per post
    2. looks_two Silvester17 with 3.2 thanks per post
    3. looks_3 Big Mike with 1.7 thanks per post
    4. looks_4 sudhirc with 1.7 thanks per post
    1. trending_up 965,229 views
    2. thumb_up 2,947 thanks given
    3. group 613 followers
    1. forum 2,093 posts
    2. attach_file 615 attachments




 
Search this Thread

PriceActionSwing discussion

  #1371 (permalink)
Sakk
Melbourne
 
Posts: 7 since Apr 2014
Thanks Given: 0
Thanks Received: 1

Hi ,

As this is my first post I can't send a PM until I make 5 posts.

This post is to dorschden,

I wanted to know whether you do any programming for a fee?

I use your PriceAction Swing indicator and want a relatively simple modification.

If you do program, could you PM me please.

Thank you
Sakk

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Are there any eval firms that allow you to sink to your …
Traders Hideout
Deepmoney LLM
Elite Quantitative GenAI/LLM
NexusFi Journal Challenge - April 2024
Feedback and Announcements
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #1372 (permalink)
 icog 
Sofia Bulgaria
 
Experience: Intermediate
Platform: TradeStation
Broker: TradeStation
Trading: Everything
Posts: 194 since Oct 2016
Thanks Given: 391
Thanks Received: 181


watrader View Post
Yes I have the same problem.

Hi,
Did you find solution to this? I removed the NT8, it does not help. Then i also removed all my saved data from the "documents" folder and NT8 and it still does not work. All other indicators save their presets fine. PriceActionSwing also saves its preset, only the Pro version does not. And making all the adjustments again and again with every start of NT takes a lot of time .

Best regards

Reply With Quote
  #1373 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527



icog View Post
Hi,
I downloaded the version for NT8 and it work nice so far. Was able to add custom divergence indicator without problems (MFI). The only problem i found is it wont save the preset after you make changes to the settings. The error i receive is:
Unhandled exception: There was an error generating the XML document.

Any ideas what could be the reason for that?

Thanks again for the nice indicator!


watrader View Post
Yes I have the same problem.


icog View Post
Hi,
Did you find solution to this? I removed the NT8, it does not help. Then i also removed all my saved data from the "documents" folder and NT8 and it still does not work. All other indicators save their presets fine. PriceActionSwing also saves its preset, only the Pro version does not. And making all the adjustments again and again with every start of NT takes a lot of time .

Best regards

I believe it's the "brush" in the properties. whenever you have a "public brush", you also need a "XmlIgnore". after adding this, I don't get anymore error messages and the indicator also saves all the settings.

should add, it's not missing on all the brushes, just a few. and also thanks again @dorschden, once more great work

@skfutures,

some more information about using "brushes":

https://ninjatrader.com/support/helpGuides/nt8/en-us/

and here's what I did:

- first go to properties:



then look for "public Brush" and make sure "XmlIgnore" is included:

 
Code
[XmlIgnore]
        [Display(Name = "Swing switch up color", Description = "Represents the color of the swing switch up triangle.", Order = 22, GroupName = "2. Visualize Swings")]
        public Brush SwingSwitchUpColor
        {
            get { return swingSwitchUpColor; }
            set { swingSwitchUpColor = value; }
        }
        [Browsable(false)]
        public string SwingSwitchUpColorSerialize
        {
            get { return Serialize.BrushToString(swingSwitchUpColor); }
            set { swingSwitchUpColor = Serialize.StringToBrush(value); }
        }
if you find one that looks like this one (no XmlIgnore):

 
Code
[NinjaScriptProperty]
        [Display(Name = "Swing switch up color", Description = "Represents the color of the swing switch up triangle.", Order = 22, GroupName = "2. Visualize Swings")]
        public Brush SwingSwitchUpColor
        {
            get { return swingSwitchUpColor; }
            set { swingSwitchUpColor = value; }
        }
        [Browsable(false)]
        public string SwingSwitchUpColorSerialize
        {
            get { return Serialize.BrushToString(swingSwitchUpColor); }
            set { swingSwitchUpColor = Serialize.StringToBrush(value); }
        }
change it so it looks like this:

 
Code
[XmlIgnore]
        [Display(Name = "Swing switch up color", Description = "Represents the color of the swing switch up triangle.", Order = 22, GroupName = "2. Visualize Swings")]
        public Brush SwingSwitchUpColor
        {
            get { return swingSwitchUpColor; }
            set { swingSwitchUpColor = value; }
        }
        [Browsable(false)]
        public string SwingSwitchUpColorSerialize
        {
            get { return Serialize.BrushToString(swingSwitchUpColor); }
            set { swingSwitchUpColor = Serialize.StringToBrush(value); }
        }
that's about it

good luck!!

Reply With Quote
  #1374 (permalink)
 skfutures 
North vancouver
 
Experience: Beginner
Platform: Ninjatrader, Firetip
Trading: ES YM
Posts: 131 since Oct 2016
Thanks Given: 108
Thanks Received: 42

@silverster17 can you tell us exactly how to do what you just said? Perhaps exact how to add it step by step?

Sent using the NexusFi mobile app

Just changed places where there were public Brush under Ninjascript Properties to XmlIgnore.
I think there were like 20 places that needed change.
Anyway I still can't save changes and PAS doesn't load when I restart NT8.

Does anybody have any other idea?

Reply With Quote
  #1375 (permalink)
 dorschden 
Germany
 
Experience: Master
Platform: NinjaTrader
Posts: 112 since Jun 2009
Thanks Given: 59
Thanks Received: 1,143

I'll fix this over the weekend and will send Mike a new version to upload. I'll also upload the sound files once more.

Started this thread Reply With Quote
  #1376 (permalink)
 icog 
Sofia Bulgaria
 
Experience: Intermediate
Platform: TradeStation
Broker: TradeStation
Trading: Everything
Posts: 194 since Oct 2016
Thanks Given: 391
Thanks Received: 181

Thanks to the Silvester17 guidence it saves the preset now.

@skfutures probably you have missed replacing some rows, it worked perfectly for me. As for the MFI - sorry i cant send private msg's yet, but the instructions for adding custom indicator in the code are earlier in this thread, its very easy.

Reply With Quote
Thanked by:
  #1377 (permalink)
 skfutures 
North vancouver
 
Experience: Beginner
Platform: Ninjatrader, Firetip
Trading: ES YM
Posts: 131 since Oct 2016
Thanks Given: 108
Thanks Received: 42


icog View Post
Thanks to the Silvester17 guidence it saves the preset now.

@skfutures probably you have missed replacing some rows, it worked perfectly for me. As for the MFI - sorry i cant send private msg's yet, but the instructions for adding custom indicator in the code are earlier in this thread, its very easy.

Yeah about that @icog
I dont know how to code. What i can do is pretty much cut and paste the code . As a non coder when someone say it is easy. It scares me lol. Can you tell me around what date these regarding custom indicator method is mentioned? Thanks

Sent using the NexusFi mobile app

Reply With Quote
  #1378 (permalink)
 skfutures 
North vancouver
 
Experience: Beginner
Platform: Ninjatrader, Firetip
Trading: ES YM
Posts: 131 since Oct 2016
Thanks Given: 108
Thanks Received: 42

So i found thread #941 expalining how to but there are for nt7. And few links to download are broken and non existance. So where do i go from here?

Sent using the NexusFi mobile app

Reply With Quote
  #1379 (permalink)
 jmont1 
New York, NY
 
Experience: Intermediate
Platform: NinjaTrader8
Broker: Data = Rithmic -- Gives 70 Level II Data
Trading: 6C (Low Margin,) 6E, CL, GC, ES and Maybe DX for smaller tick value
Posts: 1,394 since May 2011
Thanks Given: 1,719
Thanks Received: 1,019


dorschden View Post
I'll fix this over the weekend and will send Mike a new version to upload. I'll also upload the sound files once more.

@dorschden, would you please add the "print statement(s)" even if you comment it out for full release?

Plus any chance you can provide access to the swing statistics for ticks information as a Dataseries to be accessible by NT7 and NT 8's strategy Wizard / Strategy Builder?

Any chance you would also make calculating statistics the default rather than needing to change it? I know I can do a preset but trying to avoid needing to do presets if I can.

Would REALLY appreciate any or all of these. GREAT HELP - thank you.

To other users: Anyone have a profitable working strategy using PAS - especially if it is available on NT8.

Reply With Quote
  #1380 (permalink)
 icog 
Sofia Bulgaria
 
Experience: Intermediate
Platform: TradeStation
Broker: TradeStation
Trading: Everything
Posts: 194 since Oct 2016
Thanks Given: 391
Thanks Received: 181



skfutures View Post
So i found thread #941 expalining how to but there are for nt7. And few links to download are broken and non existance. So where do i go from here?

About adding MFI as a custom indicator:

paste this
 
Code
private MFI mfi;
after
 
Code
private string displayName = null;
Then paste this
 
Code
 mfi = MFI(param1);
on the row after
 
Code
 case DivergenceMode.Custom:
- should be row 709.

Last paste this :
 
Code
divergenceDataHigh = mfi.Value;
divergenceDataLow = mfi.Value;
after
 
Code
 case DivergenceMode.Custom:
- should be on rows 764 and 765.

Then hit "compile" and if you dont get a error you are done. When you want to use MFI like a divergence indicator choose "Custom" and then in Parameter 1 the desired period (probably 14).

Hope this helps.

Reply With Quote
Thanked by:




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