djmad

Signal_transcoder_library

djmad ที่อัปเดต:   
Library "Signal_transcoder_library"

This is my 2nd iteration for sending Signals via Plots. (first one was the 8bit Version)
Now a cleaner approach (thanks for the hints @lonesometheblue)

_16bit_encode()
Input a 16 bool Array
Outputs a Float for transmitting via Plot

_16bit_decode()
Input a Float from plot via input-mapping
Outputs a Array of 16 bools

Future Ideas:
Transmitting 2-4 Ints (-127 to 127) and Bools



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

Added:
f_remap_bits()
here you can mix the channels
array in (16 bits) array remapped out (16 bits)

f_bool_operations()
standard bit operations like:
"and", "or", "not", "nand", "nor", "xor", "xnor",
classic timerblocks (candletimers)
"TP", "TPD", "TON", "TOF"
เอกสารเผยแพร่:
v3 bugfixing the TOF/TON Function (no masking of false)
เอกสารเผยแพร่:
v4

added MDP

Minimum Deviation Percentage
it will give you the option to filter out signals by only accepting new signals after a minimum move of the close price.
for dca strategys very usefull, as it limits a overinvesting by a triggerhappy indicator.
เอกสารเผยแพร่:
v5
Added bool funtion "rate"
it counts the bool-in compares it with needed trues in a given range
example: channelin 0 bars 20 trues 10 channelout 1

no other changes
เอกสารเผยแพร่:
v6

Added:
f_infuse_signal() overloaded function
it does infuse 1 to 8 signals into a 16 elements bool array (for each amount a overload)
with an additional check for the channel provided for -1 < channel <15
example:
f_infuse_signal(int channel1, bool mysignal1, int channel2, bool mysignal 2 , .... , int channel8, bool mysignal8, boolarray)
f_infuse_signal(int channel1, bool mysignal1, boolarray)
เอกสารเผยแพร่:
bug hunting

Trader & coder. TA & NFTs.
bitblockwizard.com more at bitblockart.com
ไลบรารีไพน์

จิตวิญญาณที่แท้จริงของ TradingView ผู้เขียนได้ตีพิมพ์รหัส Pine นี้เป็นไลบรารีโอเพนซอร์ซเพื่อให้โปรแกรมเมอร์คนอื่น ๆ จากชุมชนของเราสามารถนำไปใช้ซ้ำได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ไลบรารีนี้เป็นการส่วนตัวหรือในสิ่งพิมพ์โอเพนซอร์สอื่น ๆ แต่นำรหัสนี้มาใช้ซ้ำในสิ่งพิมพ์จะถูกควบคุมโดย กฎระเบียบการใช้งาน

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการใช้ไลบรารีนี้หรือไม่?

คัดลอกข้อความไปยังคลิปบอร์ดแล้ววางลงในสคริปต์ของคุณ