Skip to content

Instantly share code, notes, and snippets.

View itsXactlY's full-sized avatar
😶

aLca itsXactlY

😶
  • Hell's Gate 7 inhabitant
View GitHub Profile
@itsXactlY
itsXactlY / godmode_indicator
Created October 4, 2020 00:44 — forked from iUmarov/godmode_indicator
GodMode Indicator in Python
# This is a non-multiexchange version of GODMODE indicator
# If you want the multi exchange version of GODMODE indicator, you need to implement willy and csi calculations too
# Original source of god mode indicator:
# https://www.tradingview.com/script/oA3U7pok-GODMODE-OSCILLATOR-FRESH-BREAD-GENERATOR-FREE-TO-USE/
import pandas as pd
import talib
channel_length = 9
average_length = 26
@itsXactlY
itsXactlY / visualstudio2019Key.txt
Created November 27, 2020 17:54
Visual Studio 2019 Product Key
Visual Studio 2019 Product Key
[Please Star this gist]
Follow My GitHub Account --> https://github.com/ch-kashif @ch-kashif
**Follow Me On Instagram -->> https://www.instagram.com/ch.kashif602/ **
Lets do a code together
Join Cloud Disk repository --> https://github.com/ch-kashif/CloudDisk
//@version=4
'''
Quick explanation from "Market Cipher - what is just a closed source of this script with alerts. (DO NOT PAY 1.500$ JUST FOR ALERT FUNCTION!)"
Market Cipher B is an all-in-one oscillator allowing for more quality indications than ever before.
It combines five algorithms (some well-known, some custom) that have all been fine-tuned and smoothed for optimal analysis and trading results.
When all of the algorithms converge, Market Cipher B will project a “Green Dot” which will aid you in longing the dips in bull markets as well as temporarily exiting shorts in bear markets.
The Green Dot is often accompanied by extreme sellers’ momentum and will warn you of potential market bottoms, giving you strong hands even when the night is at its darkest.
Market Cipher B certainly excels on the small time frames, but is a particularly deadly tool for isolating large swings in the market.
@itsXactlY
itsXactlY / frosty-debian10-minimal
Last active July 9, 2022 14:44
frosty-debian10-minimal
su -
(confirm root password)
apt update
apt upgrade
apt install curl wget sudo build-essential
add normal user to sudoers
@itsXactlY
itsXactlY / example.ps1
Created February 13, 2021 01:09 — forked from magnetikonline/example.ps1
PowerShell push message to Slack incoming webhook.
Set-StrictMode -Version Latest
$payload = @{
"channel" = "#my-channel"
"icon_emoji" = ":bomb:"
"text" = "This is my message. Hello there!"
"username" = "Mr. Robot"
}
Invoke-WebRequest `
@itsXactlY
itsXactlY / README.md
Created April 24, 2022 20:45 — forked from tg44/README.md
Cheap IP camera video converter

install nodejs 12

run with node app.js cameraRootDir

Almost works with Blitzwolf BW-SHC2 (no audio for me).

Not tested on windows, but probably changing the ffmpeg in the first two function-returns to something like ffmpeg.exe will make this work.

The script will recursively walk on every sudir, group the files ased on parent dir,

@itsXactlY
itsXactlY / price-regexp.txt
Created May 9, 2022 22:18 — forked from wischweh/price-regexp.txt
This Regexp tries to grep a price from a string
// This Regexp tries to grep a price from a string.
// 1. The number must makes sense. it may contain "." or "," i.e 1 1.000,99 10,0 etc
// 2. The String must conatin a currency identifier like EUR,USD,€ or $.
// 2a) The currency identifer may be at the begining or at the end of the matching string
// 2b) There may be a space between value and currency identifier
// This regexp is based upon http://stackoverflow.com/questions/1547574/regex-for-prices
(USD|EUR|€|\$|£)\s?(\d{1,}(?:[.,]\d{3})*(?:[.,]\d{2}))|(\d{1,3}(?:[.,]\d{3})*(?:[.,]\d{2})?)\s?(USD|EUR)
updated Version (also matches numbers without delimiters in between like $2 $34 thx PepsiX for pointing out this issue:
@itsXactlY
itsXactlY / pine
Created May 15, 2022 16:00
Super Z++ Strategy
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
//Original script
//https://www.tradingview.com/script/wYknDlLx-super-Z/
//@version=4
strategy("Super Z++ Strategy", shorttitle="Super Z++",overlay=true, initial_capital=50, slippage=3, calc_on_every_tick=true, calc_on_order_fills=true, default_qty_type=strategy.fixed, default_qty_value=5, pyramiding = 1, commission_type=strategy.commission.percent, commission_value=0.07)
// === INPUT BACKTEST RANGE ===
useDate = input(true, title='Use Date', type=input.bool)
FromMonth = input(defval=6, title="From Month", minval=1, maxval=12)
@itsXactlY
itsXactlY / 0_python_email.md
Created May 22, 2022 23:17 — forked from nickoala/0_python_email.md
Use Python to send and receive emails

Use Python to:

  • send a plain text email
  • send an email with attachment
  • receive and filter emails according to some criteria
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// ©jdehorty
// @version=5
indicator('Machine Learning: Lorentzian Classification', 'Lorentzian Classification', true, precision=4, max_labels_count=500)
import jdehorty/MLExtensions/2 as ml
import jdehorty/KernelFunctions/2 as kernels
// ====================