Skip to content

Instantly share code, notes, and snippets.

View alexeyismirnov's full-sized avatar
💭
Never thought I could write so much code. Or this is not me?...

Alexey Smirnov alexeyismirnov

💭
Never thought I could write so much code. Or this is not me?...
  • Hong Kong
View GitHub Profile
@alexeyismirnov
alexeyismirnov / supertrend.ts
Last active October 5, 2024 04:41
SUPERTREND + CORAL
//@version=5
strategy("SUPERTREND", overlay=true, initial_capital = 1000, currency = "USD", default_qty_type = strategy.cash, default_qty_value = 1000, commission_value = 0.04, calc_on_every_tick=true)
// Timeframe=30m, smoothing period = 130
// CORAL trend indicator, used as "global trend"
src2=close
sm =input(21, title="Smoothing Period")
cd = input(0.4, title="Constant D")
@alexeyismirnov
alexeyismirnov / main.dart
Created June 20, 2019 03:18
MJPEG player written entirely in Flutter/Dart
import 'package:flutter/material.dart';
import 'mjpeg_view.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',