Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Does anyone know how to code a drawing tool for Ninja that could be helpful to everyone. I am looking for a line that will project out to the right from the point of control from my cursor. I would like to click the bottom or top of a candle or anywhere on my chart, then the line would come up automatically, from that point and to the right. I would like for the Ray line to just plot from spot to right horizontally to have the instrument price indicated on the Ray line labeled. It would be really nice also if I could have a button on my screen that I could just click and start drawing my lines and stay on until I unable it. Any help would be appreciated. This would sure save time. Right now with the Ninja Ray line you have to adjust it in order for it to line up horizontally. The Horizontal tool is kind of confusing for me for what I am trying to mark. Also the Swing indicator plots automatically and I want to choose from what bottom or top to plot from. Any help would be appreciated.
Can you help answer these questions from other members on NexusFi?
PF, really appreciate it. Is this for Ninja? I see you use Multicharts. If so where do I install this code at and how. Sorry I know nothing about coding or writing script but I think I can do this one if guided.
The sample macro script is for controlling Ninja7 keys and mouse.
You need to get a macro, I use the Macro Scheduler for all my work
but the free AutoHotkey will work but I have not used it.
Install AutoHotKey
Copy the text into NotePad and save as yourName.ahk
DoubleClick on the file yourName.ahk
Your macro is now ready for execution, you will see an H icon in the task bar.
Go to Ninja Chart and move mouse to your line starting point and press
the Shift r key. works for me!
I use AutoHotkey ( extensively in my trading to automate much of the routine tasks that I have to do during the trading day. I want to include here some of the AutoHotkey scripts I use. AutoHotkey is a free, open-source macro-creation and automation …
Thanks PF. If I may, can you look at this image of my chart with a sample that I was looking for.
Maybe I should have put this in the first post. I did install your code and it quite does not look
like what I am looking for. Is there any way to adjust it to look like the sample attached and is
there anyway to get this on a button on my chart that I can just click to activate hit.
Hi,
My chart looks like yours, disable Snap Mode otherwise you will sometimes get a slope line.
I'm new to Ninja and don't know how to integrate a button into a chart.
I solved that problem by attaching a second USB-keyboard (or Number Pad)
and allocate each macro-script to a single key.