READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

SQ_SessionOHLC syntax help

3 replies

cereboy1

Subscriber, bbp_participant, customer, community, 6 replies.

Visit profile

2 years ago #286921

Can someone help with describing exactly what this snippet of code does?  I am unsure of the parameters
for especially the SQQ_SessionOHLC.

#SMA of LOW 5 periods ago

Value1= SQ_MovingAverage(Low, 0, MAPeriod)[4+1];

#SMA of LOW 4 periods ago

Value2= SQ_MovingAverage(Low, 0, MAPeriod)[4];

#?

LongEntrySignal = ((SQ_IsLowerCount(SQ_SessionOHLC(1, 1, 43, 1, 43, 4),HighD(2), 5, false)[3] = 1) and (Value1>Value2));

Thank you if you can help!

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

2 years ago #286949

SQ_SessionOHLC(1, 1, 43, 1, 43, 4) – gets you the open price (the first parameter set to 1) from 1:43 to 1:43 shifted to 4 days ago

The time range where the start time equals the end time returns a value from a single bar only – the bar open price then

0

tradermm

Subscriber, bbp_participant, customer, community, sq-ultimate, 5 replies.

Visit profile

2 years ago #287397

Tomas, and what happens with the shift on markets like ES, CL, GC when I want to know session high or low.

The Start hour is 17 (CST) and the End Hour is 16 (CST). However, the start hour was 1 day before the end hour.

How does the shift work on this scenario?

If I want to know yesterday’s high, should I select shift 1? Will the calculation be correct?

Meaning, the start hour will be 17 CST (day before) and end hour will be 16 CST (next day).

0

Theo Gottwald

Subscriber, bbp_participant, customer, community, sq-ultimate, 60 replies.

Visit profile

2 years ago #287866

1 month later … better send it to support.

**Mit besten Grüßen | With best regards | Cordiali saluti**

**Theo Gottwald**
*Leading Expert in SPR & Visual Automation*

???? **What's New in the Q4 Update?**
1️⃣ Open AI Vision: Empower your SPR with cutting-edge visual recognition. See the unseen. ????????
2️⃣ Open AI TTS: Seamlessly transform text into natural, lifelike speech. Hear the difference. ????️????
3️⃣ GPT-4 with 128k Token Context Window by OpenAI: Dive into unparalleled depth in AI conversations. Think deeper. ????????
4️⃣ DALLE-3 by OpenAI: Command revolutionary AI to generate stunning images. Imagine more. ????️????
5️⃣ ElevenLabs Text to Speech: Experience text-to-speech so lifelike, it speaks to you. ????️
6️⃣ Stable Diffusion Local & Online via Automatic1111: Unlock creativity with both local and cloud-based image generation. Create anywhere. ☁️????
7️⃣ GPT4All & LM Studio: Harness powerful offline AI capabilities. Your studio, smarter. ????️????
8️⃣ DeepL Translator with SPR Integration: Achieve real-time, accurate translations. Speak the world's language. ????????
9️⃣ ChatGPT by OpenAI: Engage with your SPR through natural, dynamic conversations. Connect genuinely. ????️
???? WHISPER by OpenAI: Convert voice to text with effortless precision. Listen, transcribe, act. ????️????
???? Mistral AI: Scale your AI integration with seamless efficiency. Elevate your AI journey. ????????
???? Claude 3 by Anthropic: Experience next-level AI understanding and interactivity. Discover AI with a human touch. ????????

???? **Address:**
Herrenstr. 11, 76706 Dettenheim, Germany

???? **Phone:**
Office: +49 (7247) 9851112
Mobile: +49 160 6688 222
Fax: +49 (7247) 9851113

???? **Email:**
[[email protected]](mailto:[email protected])

???? **Websites:**
[IT-Berater](http://www.it-berater.org) | [Smart Package](http://www.smart-package.com)

0

Viewing 3 replies - 1 through 3 (of 3 total)