Hello, I believe I have coded an indicator that counts second entries correctly (mack style). I'm trying to get some feedback on how it can be improved and what features should be added. Also I wanted to know if my counting logic is off as I'm still relatively new to PAT/second entries. All feedback/critique is welcome!
Everything is open source. I also know there are a lot of talented developers on this forum so I hope to be able to crowdsource this into a great indicator.
(Excuse my commenting/code organization skills, it is my first indicator as well as my first time coding in C#/ninjascript)
Video about Installation/features:
V2.1 Video(Explains how I think counting entries work, FEEDBACK ON THIS IS GREATLY APPRECIATED)
Features:
Counting Second Entries
Counting Other Entries
Future Signal and Risk display
The indicator is highly adjustable so that it can fit for other instruments as well
Parameters:
Target: Shows where the future signal will draw the target.
Max Stop: will change the risk to turn magenta if risk exceeds max stop.
Entry Placement: Useful for other instruments. Will only count as an entry if the price is greater than/less than the previous bar's high/low plus the amount of ticks set here.
Stop Placement: Distance from signal bar your stop will be placed.
Margin: Distance from bar the indicator is drawn.
Reset count on DT/DB: allows for the count to reset whenever a double top or double bottom forms
Longs on top/shorts on bottom: Flip placement of entry text
p.s. it's v2.1 because I forgot to post v1 before I fixed some counting errors/logic.