TradingView
Eliza123123
30 กันยา 2021 เวลา 22 นาฬิกา 38 นาที

Prime Number Checker 

AVAX / TetherUS PERPETUAL CONTRACTBinance

คำอธิบาย

This is not a foolproof method for finding every prime number but will work well on assets $10 to $100. I will be working on something more robust with scaling for all assets. If you want a main pane indicator with just the background coloring keep the indicator as it is. If you want a lower pane indicator get rid of the current study function and replace with the commented out study function by deleting the //. Also comment in line 28 also by deleting the //. Prime numbers are an excellent natural mathematical site of reversal and you will begin to see this as you work with them.

Any questions don't be scared to ask.

Eliza.

เอกสารเผยแพร่

//more workable version of yesterdays script. please still only use on assets $10 to $100 as scalability hasn't been added for all assets yet. BG colors are theres to show historic prevalence of "primeness".
//The table in the top right will flash purple when the open high low or close encounters "primeness".
//When they all light up thats when you can potentially expect a reversal. Use on lower time frame to see the effect quickly. Note this still isn't a foolproof method for finding primes but I will be improving it in later editions
// open, high, low and close are all assessed in this version compared to yesterdays which was only examining close price

เอกสารเผยแพร่

//v3
//added scaling for pairs from $0.10 up to $1000. May still be slight different in indicator performance betwwen the two extremes of that scale.
// Clear OHLC prime pivot points have been added.
//Introducing the volumeometer. Pretty self explanatory.
// Red candle count and green candle count for last 100 candles.
ความคิดเห็น
wikitrades
Wow 170 lines of code 😱 .I wonder if i you wrote the strategy the TV would probably crash...
Eliza123123
@andymike077, 170 lines is nothing haha I have scripts over 2000 lines that compile okay
wikitrades
@Eliza123123, You can compile 5000 lines of BS code, but it wont run logically on the TV cloud, because the code is a mess 🙈🙈🙈 and loops over multiple times makes multiple same structural calls etc...
gmeneguzzo
Thank you . Is it a way to find reversal right ?
Eliza123123
@gmeneguzzo, correct
sirde8y
Veri nice eliza
Eliza123123
@sirde8y, thank you
reveance
Nice, have you ever tested if the chance of reversal is bigger than with any other price movement that covers a big enough range that would normally contain a prime number? I.e. would it not be an indication of reversal because a big price movement usually reverses at least somewhat?
Eliza123123
@reveance, as you move into the upper half of the number scale from 1 to 100 the abundance of primes drops off significantly so it is easier to see the impact of the primes. You are right though more empirical testing is needed on this for sure
reveance
@Eliza123123, right! the updated version looks very cool :) i'm also definitely interested in these kind of things because there seem to be so many math connections that price reacts very strictly at, despite the market being so dynamic... have you ever found anything like this with respect to time?
เพิ่มเติม