Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

Laguerre PPO Oscillator for Amibroker

26 sec read

Laguerre PPO Oscillator is just the translated Tradingview Pinescript indicator from theLark’s Laguerre PPO. We very well know that Lauggerre RSI is from the John Ehlers library and Price Percentage Oscillator (PPO) is a classical momentum oscillator. So Laguerre PPO is nothing but a fusion between Laugerre RSI and PPO Oscillator.

 

Laugerre PPO

Laugerre Oscillator is a momentum oscillator contains a singal line,centre line and histogram. And it quite resembles the shape of MACD as PPO Oscillator and MACD have the same basic shapes but different values. This indicator is posted based on marketcalls visitors request.

Laugerre PPO Oscillator – Amibroker AFL Code
https://gist.github.com/c8b44e0021e8d960f65c

Download Laugerre PPO – Amibroker AFL Code

Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

What is QuantZilla?

Quantzilla is 75+ hours of code mentoring program designed for noncoders who want to learn the coding program right from designing indicators, scanners, trading...
Rajandran R
58 sec read

Things to Consider While Building a Bracket Order Execution…

Building a Bracket Order Strategy is the most demanded request we got from most of the algomojo traders. This article explains the list of...
Rajandran R
12 min read

PlaceOrder – Multi Broker Exectuion Code Snippets for Amibroker

This tutorial explains how to build a button trading right from scratch and with a click of a button how you can send orders...
Rajandran R
7 min read

9 Replies to “Laguerre PPO Oscillator for Amibroker”

  1. Hello mr Rajendran

    Given below code is CM_LAGUERRE PPO PERCENTILERANK, Can this code be converted into afl

    //Created by ChrisMoody on 10/28/2014…Original PPO Code Created by TheLark
    //Great for Spotting Tops.
    study(title = “CM_Laguerre PPO PercentileRank”, overlay=false)
    pctile = input(90, title=”Percentile Threshold Extreme Value, Exceeding Creates Colored Histogram”)
    wrnpctile = input(70, title=”Percentile Threshold Warning Value, Exceeding Creates Colored Histogram”)
    Short = input(0.4, title=”PPO Setting”)
    Long = input(0.8, title=”PPO Setting”)
    lkb = input(200,title=”Look Back Period Percent Rank is based off of?”)
    sl=input(true,title=”Show Threshold Line?”)
    swl=input(true,title=”Show Warning Threshold Line?”)

    //Laguerre PPO Code from TheLark
    lag(g, p) =>
    L0 = (1 – g)*p+g*nz(L0[1])
    L1 = -g*L0+nz(L0[1])+g*nz(L1[1])
    L2 = -g*L1+nz(L1[1])+g*nz(L2[1])
    L3 = -g*L2+nz(L2[1])+g*nz(L3[1])
    f = (L0 + 2*L1 + 2*L2 + L3)/6
    f
    lmas = lag(Short, hl2)
    lmal = lag(Long, hl2)
    //PPO Plot
    ppo = (lmas – lmal)/lmal*100
    //PercentRank of PPO
    pctRank = percentrank(ppo, lkb)
    //Color Definition of Columns
    col = pctRank >= pctile ? red : pctRank >= wrnpctile and pctRank < pctile ? orange : gray
    //Plot Statements.
    plot(pctRank,title="Percentile Rank Columns", color=col,style=columns,linewidth=2)
    plot(sl and pctile ? pctile : na, title="Extreme Move Percentile Threshold Line", color=red, style=linebr, linewidth=4)
    plot(swl and wrnpctile ? wrnpctile : na, title="Warning Percentile Threshold Line", color=orange, style=line, linewidth=4)

      1. Hir Mr Ragendran,

        Sir I tried to do it, but i could not do it. That’s why i asked. I don’t know how to code for compute percentile rank and how to plot it. It would be very helpful if you can do it,please.

        Thank you

  2. Hello there, Mr Rajandran! Thank you for this post! I know this may seem a little archaic to you, but I am attempting to put together an excel spreadsheet to both track my portfolio and to also use as an strategy entry/exit signal generator. I have put together a semi-decent sheet and would love to add the Laguerre PPO to it. I’ve been using Chris Moody’s adaptation (https://www.tradingview.com/script/jVe9imdO-CM-Laguerre-PPO-PercentileRank-Markets-Topping/) on TradingView and works well enough. I was wondering if perhaps you would know if its possible to translate that to excel functions, and/or if you could lend a hand doing it! Thank you in advance for any comment!

      1. Awesome! I have already gone through the process of getting a Laguerre SMA and Laguerre RSI calculated in Excel. Would you mind if we got in touch through another medium so I cand send you the file and we can collaborate on it? Cheers mate!

Leave a Reply to Anil Cancel reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More