Digital Signal Processing – Defining & Using the Difference Equation

Viewing 15 posts - 16 through 30 (of 30 total)
  • Author
    Posts
  • #241645 quote
    j102491
    Participant
    New

    I inputted the code but in excel

    y = a0 * close + a1 * close[1] + b1 * close[2]  //changed

     

    and got the follwing

    Screenshot-2024-12-20-151810.png Screenshot-2024-12-20-151810.png
    #241647 quote
    JS
    Participant
    Senior

    Hi,

    I think it was about determining the variables, it is theoretically interesting but I didn’t use it anymore after this…

    j102491 thanked this post
    #241648 quote
    LucasBest
    Participant
    Average
    https://fr.tradingview.com/script/H362NdFv-PhiSmoother-Moving-Average-Ribbon-ChartPrime/ DSP FILTRATION PRIMER: DSP (Digital Signal Processing) filtration plays a critical role with financial indication analysis, involving the application of digital filters to extract actionable insights from data. Its primary trading purpose is to distinguish and isolate relevant signals separate from market noise, allowing traders to enhance focus on underlying trends and patterns. By smoothing out price data, DSP filters aid with trend detection, facilitating the formulation of more effective trading techniques.
    j102491 thanked this post
    #241649 quote
    JS
    Participant
    Senior

    Nice indicator, heavy script… Completely agree with what it says…

    #241651 quote
    GraHal
    Participant
    Master
    I inputted the code but in excel y = a0 * close + a1 * close[1] + b1 * close[2]  //changed   and got the follwing
    I don’t understand what is being said above, please could anybody enlighten me? How does excel give the results shown in the image attached to the above post??
    #241661 quote
    druby
    Participant
    New
    #241672 quote
    j102491
    Participant
    New
    Hey, thanks for you reply. I’ve enjoyed many of your post. Are you saying you don’t use difference equations at all in your trading?
    #241673 quote
    j102491
    Participant
    New
    Nice indicator, how can FIR be used for volatility ?
    #241674 quote
    JS
    Participant
    Senior
    Hi, A lot of people here are probably using a difference equation in their system… The mentioned difference equation represents the general form of a (recursive) system between the input and the output. For example, when you use an exponential moving average in a system, you are essentially already applying a specific form of the general difference equation. I also use it in this form within a system…
    #241690 quote
    GraHal
    Participant
    Master
    I’m confused and I end up scrolling up and down trying to see what post is getting anwered / commented on. If we are not ‘quoting’ a few words then it be good to copy and paste the name of whoever we are replying to? Just trying to bring order to chaos (not really chaos 😉 ) as this Topic could be benefical to present and future readers. Thank You Have a Good Christmas and even more so … a Prosperous New Year!
    j102491 thanked this post
    #241696 quote
    JS
    Participant
    Senior
    Hi GraHal,
    That’s correct, a bit unclear. The problem with Safari (or maybe just me) is that “quoting” doesn’t work… In a nutshell: the difference equation is nothing more than a general formula that expresses the difference between the input (Close) and the output (what you see on your screen) … For example, when using a simple average as a system, the difference equation looks as follows:
    Afbeelding met Lettertype, wit, diagram, ontwerp Automatisch gegenereerde beschrijving
    Where the average (mu) is essentially the value (y[n]) that you’ll see in the chart… In a recursive system, you also use previously calculated values of y[n], such as y[n-i], which adds an extra term to the equation:
    You can also, for instance, include the standard deviation, as I’ve done…
    Happy holidays to you as well…
    GraHal thanked this post
    #241697 quote
    JS
    Participant
    Senior
    My wish for 2025 is to become a better loser… 😉
    justisan thanked this post
    #241700 quote
    LucasBest
    Participant
    Average
    I wish you to become a better winner too 😉 (would be better i guess)
    JS thanked this post
    #241708 quote
    j102491
    Participant
    New
    Hi GraHal,
    That’s correct, a bit unclear. The problem with Safari (or maybe just me) is that “quoting” doesn’t work… In a nutshell: the difference equation is nothing more than a general formula that expresses the difference between the input (Close) and the output (what you see on your screen) … For example, when using a simple average as a system, the difference equation looks as follows:
    Afbeelding met Lettertype, wit, diagram,  Automatisch gegenereerde beschrijving
    Where the average (mu) is essentially the value (y[n]) that you’ll see in the chart… In a recursive system, you also use previously calculated values of y[n], such as y[n-i], which adds an extra term to the equation:
    You can also, for instance, include the standard deviation, as I’ve done…
    Happy holidays to you as well…
    Thank you for the explanation, happy holidays
    JS thanked this post
    #241735 quote
    justisan
    Participant
    Junior
    My wish for 2025 is to become a better loser… 😉
    …that is totally opposite of what majority is thinking is needed for their success in trading, and so – it is the absolute “correct” wish 😀
    JS thanked this post
Viewing 15 posts - 16 through 30 (of 30 total)
  • You must be logged in to reply to this topic.

Digital Signal Processing – Defining & Using the Difference Equation


General Trading: Market Analysis & Manual Trading

New Reply
Author
Summary

This topic contains 29 replies,
has 10 voices, and was last updated by justisan
1 year, 1 month ago.

Topic Details
Forum: General Trading: Market Analysis & Manual Trading
Language: English
Started: 06/27/2021
Status: Active
Attachments: 6 files
Logo Logo
Loading...