NexusFi: Find Your Edge


Home Menu

 



Categories Help    






Search Results
Found 2328 matching entries

Sort by

Entries
vvBMTAutoPost 5 *
This Indicator exposes two methods that can be called from any indicator or strategy to make a post to BMT.
Current Version: 2.6

There are various overloads to these methods, so you don't need to use all arguments.
The two methods are:


and
Changes:
makepicpost now needs "this.ChartControl" instead of just "this"as argument.
makepost will no longer require "this" as argument.

The first will post a screenshot of the chart it has been called from (with optional message), the second will post a plain message.

Edit: Added a third method, uploadimg(), as the other two it has some overloads.
It returns the url of the img (with image tags) with an event. The event can be used like:
 
Code
myposter.ReturnUrlChange += new vvBMTAutoPost.ReturnUrlChangedEventHandler(MyReturnUrlChangedEvent);
 
Code
private void MyReturnUrlChangedEvent(object sender, ReturnUrlChangeEventArgs returnurl)
		{
			//do whatever you want here...
			Print ("Change detected "+returnurl);
                        //this prints the returnurl, three values are possible: 
                        //"Working" , "Error" and the actual img wrapped url of the uploaded img.
		}
There is the possibility to use a specific file with your API key in it when API key is either "" or not specified in the calling method.
For this to work create the following file:..."Your Home Directory"\Documents\NinjaTrader 7\bin\Custom\BMTAPIKEY.txt
Then put your API key in it, nothing else.


To use these methods you first need to add this line to your variables:
 
Code
private vvBMTAutoPost myposter = new vvBMTAutoPost();
You then can call them like:
 
Code
myposter.makepost(...
and myposter.makeimgpost(...
There is a custom EventHandlerfor the response error code. You can implement it like this:
1. paste this line into OnStartUp (initializes the EventHandler):
 
Code
myposter.ErrorCodeChange += new vvBMTAutoPost.ErrorCodeChangedEventHandler(MyErrorCodeChangedEvent);
2. create the EventHandler method:
 
Code
private void MyErrorCodeChangedEvent(object sender, ErrorCodeChangeEventArgs error)
		{
			//do whatever you want here...
			Print ("Change detected "+error.ErrorCode);//this prints the change detect and the error code
		}
3. paste this line into OnTermination (removes the EventHandler):
 
Code
myposter.ErrorCodeChange -= new vvBMTAutoPost.ErrorCodeChangedEventHandler(MyErrorCodeChangedEvent);
The error codes are:
0 = no error
1 = Upload to BMCharts failed
2 = Web Client Exception
3 = Time constraint or wrong API key
4 = (not set yet)
5 = other not closer specified error in makeimgpost
6 = tried posting on historical data
9 = busy

Please use the provided EventHandler to do stuff on errors as an error will not occur the moment the method is called but maybe a few seconds later.

Thread for discussion: https://nexusfi.com/elite-circle/24223-big-mike-trading-api-programmers.html

There is also all the info on the API in that thread.


Changelog:

19 Dec 2012
Disabled posting on historical data.

21 Dec 2012
Fixed a bug where other windows in front of the chart got caught in the screenshot. Does not (yet) work with minimized charts.


29 Dec 2012
v1.5
added an error code variable that can be accessed (it is thread safe) from the calling indicator.
v1.6
extended errorcode with 9 = busy.
v1.7
Fixed some stuff in the screenshot code

1. Jan 2013 v1.8
Fixed line break issue. Please use <br> for line breaks.

3. Jan 2013 v1.9
Now also works on minimized charts.

4. Jan 2013 v2.0
Made various overloads of the two methods for easier implementation.
Introduced an EventHandler for the error code.
Possibility to use file with API key when API key is either "" or not specified.
For this to work create the following file:..."Your Home Directory"\Documents\NinjaTrader 7\bin\Custom\BMTAPIKEY.txt
Then put your API key in it, nothing else.
(all no code breaking changes)

15. Jan 2013 v2.1
Corrected bug where price axis got cut off under some circumstances.

01. Feb 2013 v2.2
Changed the indicator argument for makepicpost to ChartControl, so use "this.ChartControl".
Deleted indicator argument for makepost, so this will not require a chart to work.

04. Feb 2013 v2.3
Introduced new argument into all methods (historial) This is the historical check so that a strategy or indicator does not try to post 100 messages when it starts up! Please pass the "Historical" attribute like makepostI(.....this, Historical);
v2.4
fixed bug in makeimgpost()

13. Feb 2013 v2.5
Added method uploadimg()

17. May 2013 v2.6 Critical update, update immediately
Changed addresses from http to https, should work again.

vvhg


Category The Elite Circle 
 
Suggest other entries I might like
Details: vvBMTAutoPost
Category: The Elite Circle 


May 17th, 2013
Size: 16.98 KB
Downloaded: 157 times
vvColourBackgroundVariable 5 *
I guess it has been done 100 times, but anyways, here is my version.

It colors areas based on time of day.

Thread for discussion: https://nexusfi.com/elite-circle/24373-vvhgs-littl...ne-place.html

Current Version: 1.0

vvhg


Category The Elite Circle 
 
Suggest other entries I might like
Details: vvColourBackgroundVariable
Category: The Elite Circle 


November 16th, 2012
Size: 2.88 KB
Downloaded: 428 times
vvCrosshairGaugeWithPrice 5 *
The CrosshairGauge now with added prices on the lines.

Version1.0

Thread is here: https://nexusfi.com/elite-circle/9051-crosshair-gauge-stops-targets.html

There are several other versions in the thread.

Changelog:
Changed the name to vvCrosshairGaugeWithPrice.

August 17 2012: v1.1
when applied to a chart it is hidden by default now.


vvhg


Category The Elite Circle 
 
Suggest other entries I might like
Details: vvCrosshairGaugeWithPrice
Category: The Elite Circle 


August 18th, 2012
Size: 5.31 KB
Downloaded: 506 times
vvDepthRadar 5 *
A little indicator that spawns a window showing the total depth over n levels. It can also warn when total depth drops below a threshold.

Thread for discussion is here: https://nexusfi.com/elite-circle/24373-vvhg-s-little-helpers-keeping-them-one-place.html

Current version: 1.0


vvhg


Category The Elite Circle 
 
Suggest other entries I might like
Details: vvDepthRadar
Category: The Elite Circle 


February 15th, 2014
Size: 5.50 KB
Downloaded: 854 times
vvEMA
The normal EMA but with a setting for opacity.

The plot ignores the color set under "Plot" category and takes the one set under "Parameters"

Thread for discussion: https://nexusfi.com/elite-circle/24373-vvhgs-littl...ne-place.html

Current Version: 1.0

vvhg


Category The Elite Circle 
 
Suggest other entries I might like
Details: vvEMA
Category: The Elite Circle 


November 16th, 2012
Size: 2.24 KB
Downloaded: 135 times
vvFocusTitlebar 5 *
An indicator that adds title bar auto hide function to NinjaTrader.
As soon as the chart window loses focus the title bar gets hidden, when the chart gains focus the title bar appears again.
Option to chose between three styles when the window has no focus:
Standard
Sizable with Border
Fixed with single line Border

Thread is here: https://nexusfi.com/elite-circle/9051-crosshair-gauge-stops-targets.html

Also works together with HideTitleBar indicator. In that case set the HideTitleBar-indicator-option Chart changes disabled to TRUE.

Changelog:
Changed name to vvFocusTitlebar.
Aug 7 2012: v1.2, Got rid of the timer and now use focus events.
Aug 19 2012: v1.3 Fixed bug when scrolling chart with arrow keys
vvhg


Category The Elite Circle 
 
Suggest other entries I might like
Details: vvFocusTitlebar
Category: The Elite Circle 


August 19th, 2012
Size: 3.03 KB
Downloaded: 427 times
vvHideTitleBar 5 *
Modifies the Window style of NinjaTrader windows.
This indicator has a global scope (inside NT) and can influence nearly every window of NT.
Current Version is v3.1

Thread is here: https://nexusfi.com/elite-circle/22097-hidetitlebar-indicator-ninjatrader-title-bar-window-frame-modification.html

Changelog:
Uploaded new version with increased scope, now all windows (exception: vendor indicators) can be modified.
this does also work together with the FocusTitlebar indicator, in that case set Chart changes disabled to TRUE.

Changed the name to vvHideTitleBar.

September 3 2012: v1.5
Removed bug which led to link button reappearing after workspace change.

14 Sept 2012 v2.0
Fixed issue where reloading charts or reconnecting applied the original style
Added hotkey Alt+B to switch between Standard and user selected style (only charts)

14 Sept 2012 v2.1
Bug fix: indicator windows weren't handled correctly

15 Sept 2012 v2.2
Bug fix: multi-workspace visibility issues fixed

16 Sept 2012 v2.5
Bug fix: maximized windows are now treated correctly.
Toggling between Standard and user selected style now works for all windows.
Added the functionality of vvFocusTitleBar as an option, if chosen, charts and indicator windows will display the titlebar when they have focus.
Made the hotkey for toggling (Alt+b) global, so it will work regardless of which window has focus.

17 Jan 2013 v2.6
Added support for Jigsawtrading Depth&Sales Beta V4. Its border can now be manipulated too.

01 Feb 2014 v2.7beta
Hopefully fixes NT crashes on Windows8, lots of beta testers appreciated!
The only thing that changed is that I added some error handling blocks, so on Win7 and older it will behave exactly like v2.6.
Please note that this is a beta version that might still crash NT on Win8!

06 Feb 2014 v3.0
Changed hot key for toggle from Alt+B to Alt+W.
Fixed bug where indicator windows didn't get enabled again.
I expect it to work correctly on Win8 now.
v3.1
Disabled forcing Classic Theme for NT on Win8 machines as it messed with the buttons.

There is a known incompatibility with the indicator WorkSpaceChanger.

vvhg


Category The Elite Circle 
 
Suggest other entries I might like
Details: vvHideTitleBar
Category: The Elite Circle 


February 6th, 2014
Size: 11.54 KB
Downloaded: 1330 times
vvHideTitleBarSingleChart 5 *
Modifies the Window style of NinjaTrader windows. Like its big brother HideTitleBar, but only influences the chart it is on.

Current version is v1.1

Thread is here:https://nexusfi.com/elite-circle/22097-hidetitlebar-indicator-ninjatrader-title-bar-window-frame-modification.html

Changelog
Changed name to vvHideTitleBarSingleChart.

14 Sept 2012
Fixed issue where reloading charts or reconnecting applied the original style
Added hotkey Alt+B to switch between Standard and user selected style



vvhg


Category The Elite Circle 
 
Suggest other entries I might like
Details: vvHideTitleBarSingleChart
Category: The Elite Circle 


August 6th, 2012
Size: 3.23 KB
Downloaded: 275 times
vvHollowCandleChartStyle 5 *
This is a chart style for hollow candles. It is not an indicator, but a chart style! This means that it will not add CPU load, but in fact reduce it compared to the standard candlesticks.

Candles where Open=Close will color based on Hi/Lo rejection, so if the top wick is longer it will print as sell bar (as the high got rejected) and vice versa.

Thread is here:https://nexusfi.com/elite-circle/24373-vvhgs-little-helpers-keeping-them-one-place.html

Current Version: v1.0


vvhg


Category The Elite Circle 
 
Suggest other entries I might like
Details: vvHollowCandleChartStyle
Category: The Elite Circle 


April 17th, 2013
Size: 2.05 KB
Downloaded: 439 times
vvHollowVolumeUpDown
This indicator draws hollow volume histogram bars.

Thread for discussion: https://nexusfi.com/elite-circle/24373-vvhgs-littl...ne-place.html

Current version: 1.0

vvhg


Category The Elite Circle 
 
Suggest other entries I might like
Details: vvHollowVolumeUpDown
Category: The Elite Circle 


November 10th, 2012
Size: 2.54 KB
Downloaded: 292 times
 



 
Category
 




© 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