NexusFi: Find Your Edge


Home Menu

 





Reg PLDot for Ninjatrader


Discussion in NinjaTrader

Updated
    1. trending_up 3,258 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:	250
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?
Victory Day Delivers: Russia-Ukraine Ceasefire Market Cl …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
El Clasico Draws $9.2M in Prediction Market Action -- Bi …
Prediction Markets & Event Contracts
World Cup Opens: USA at 45.5% Tonight as Markets Push Ba …
Prediction Markets & Event Contracts
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098


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