NexusFi: Find Your Edge


Home Menu

 





Reg PLDot for Ninjatrader


Discussion in NinjaTrader

Updated
    1. trending_up 3,144 views
    2. thumb_up 3 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
jeya
PUDUKKOTTAI,TAMILNADU.INDIA
 
Posts: 5 since Sep 2011
Thanks Given: 6
Thanks Received: 0

One more request!

I use this Pldot (DG) with metatrader. IS There any chance to get the same one for Ninja!

The specialty of the Indicator is the formation of next DOT during the progression of previous candle
the formula is very simple one (just a small arithmetic)

FORMULA:
{(3RDbar High+Low+Close/3)+(2ndbar High+low+Low/3)+(1stbar High+Low+Close/3)} /3

Meta script as follows

int init()
{
//---- indicators
SetIndexStyle(0,DRAW_ARROW);
SetIndexArrow(0,164);
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexShift(0,1);
SetIndexEmptyValue(0,0.0);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----

//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int counted_bars=IndicatorCounted();

if(counted_bars<0) return(-1);
//---- last counted bar will be recounted
if(counted_bars>0) counted_bars--;

int pos=Bars-counted_bars;

while (pos>=0)
{
ExtMapBuffer1[pos] = iMA(NULL,0,3,0,0,PRICE_TYPICAL,pos);
//(
// ((High[pos+0] + Low[pos+0]+Close[pos+0]) / 3) +
// ((High[pos+1] + Low[pos+1]+Close[pos+1]) / 3) +
// ((High[pos+2] + Low[pos+2]+Close[pos+2]) / 3)
//) / 3;
pos--;
}
//----

//----
return(0);
}

Original mq4 file


Chart from metatrader

This one is also a 3day simple moving average but not lagging & the style of dot is attractive!
Thanks in advance!


Attached Thumbnails
Click image for larger version

Name:	pldot.gif
Views:	227
Size:	25.1 KB
ID:	49103  
Attached Files
Elite Membership required to download: PLdot_v1.1.mq4
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Orban at 29pct as Hungary Votes Tomorrow -- McIlroy Surg …
Prediction Markets & Event Contracts
Wood Mackenzie Drops $200 Oil Forecast -- Airspace Expir …
Prediction Markets & Event Contracts
After $87M Settles NO: Irans Nuclear Redline Sets Up the …
Prediction Markets & Event Contracts
Al Arabiya: US-Iran Draft Deal Within Hours Contains Hor …
Prediction Markets & Event Contracts
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093


its here


Reply With Quote
Thanked by:
  #4 (permalink)
jeya
PUDUKKOTTAI,TAMILNADU.INDIA
 
Posts: 5 since Sep 2011
Thanks Given: 6
Thanks Received: 0

Thank u very much for your quick and appropriate response!


Reply With Quote




Last Updated on September 12, 2011


© 2026 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 - Downloads - Top
no new posts