@Jerald643I've gotten pivot lines working perfectly in the desktop, but they don't work on mobile. I was hoping someone could help. I have found the following one that is very close but the calculations aren't what I want and when I try to modify them it doesn't work. I'm not good at coding. Any help would be appreciated!
https://usethinkscript.com/threads/fractal-pivot-strategy-mobile-by-mobius.2547/Does anyone know of traditional pivot points indicator that works with the app?
Is there a way to make price lables for the lines in focus?
The ToS platform does not provide for labels on the mobile appIs there a way to make price lables for the lines in focus?
# SVE Piovots for Mobile
# Mobius
# V01.03.2022
def x = barNumber();
def nan = double.nan;
def h = high;
def l = low;
def c = close;
def day = getYYYYMMDD();
def today = if(day != day[1], x, today[1]);
def day2 = if(today != today[1], today[1], day2[1]);
def PH = if(x == highestAll(day2), h,
if(between(x, HighestAll(day2), highestAll(today)) and h > PH[1], h, PH[1]));
def PH1 = if isNaN(PH) then PH1[1] else PH;
def PL = if(x == highestAll(day2), l,
if(between(x, HighestAll(day2), highestAll(today)) and l < PL[1], l, PL[1]));
def PC = if(x == highestAll(today), c[1], PC[1]);
plot HH = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), PH, nan)), nan);
plot LL = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), PL, nan)), nan);
plot PP = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), (PH + PL + PC) / 3, nan)), nan);
plot R1 = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), 2 * PP - PL, nan)), nan);
plot R2 = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), PP + (PH - PL), nan)), nan);
plot R3 = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), 2 * PP + (PH - 2 * PL), nan)), nan);
plot S1 = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), 2 * PP - PH, nan)), nan);
plot S2 = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), PP - (PH - PL), nan)), nan);
plot S3 = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), 2 * PP - (2 * PH - PL), nan)), nan);
R3.SetDefaultColor(GetColor(5));
R2.SetDefaultColor(GetColor(5));
R1.SetDefaultColor(GetColor(5));
HH.SetDefaultColor(GetColor(5));
PP.SetDefaultColor(GetColor(1));
LL.SetDefaultColor(GetColor(6));
S1.SetDefaultColor(GetColor(6));
S2.SetDefaultColor(GetColor(6));
S3.SetDefaultColor(GetColor(6));
# End Code
@Jerald643I've gotten pivot lines working perfectly in the desktop, but they don't work on mobile. I was hoping someone could help. I have found the following one that is very close but the calculations aren't what I want and when I try to modify them it doesn't work. I'm not good at coding. Any help would be appreciated!
I am looking for support resiatnce or pivot points indicator for mobile app..Can you please help me to find one ?
I am looking for support resiatnce or pivot points indicator for mobile app..Can you please help me to find one ?
Would you mind sharing? Thanks
Join useThinkScript to post your question to a community of 21,000+ developers and traders.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
S | Custom pivot points study showing on my mobile but not for another person | Questions | 3 | |
![]() |
Fractal Pivot points Strategy Mobile by Mobius | Questions | 5 | |
![]() |
Patrick Wieland basic pivot points | Questions | 1 | |
R | Lines Drawn At Pivot Points | Questions | 2 | |
![]() |
Auto Pivot Points -- SMA Strategy | Questions | 1 |
Start a new thread and receive assistance from our community.
useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.
We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.
If you are new, or just looking for guidance, here are some helpful links to get you started.