کلیه محتوای این چنل رایگان است و رایگان باقی خواهد ماند .اشتراک هر سیگنال فقط جهت آموزش است .ورود به این چنل یعنی شما به استاپ لاس و مدیریت ریسک پایبند هستید .🛑 https://x.com/ICT_ADVANCED?t=6pj7NrzWBVhkPO8zqcsfIQ&s=09
سمت مخالف مارکت رو فقط میتوانید بانس ترید کنید
Читать полностью…توضیحات هست عزیز . توضیحات بیشتر هم ندارد . اب انجاست
زحمت بکش لطفا برو بخور
هرکس میگه ماشین ها نمیتونن تربد کنن. بهش بگو . عصر حجر خوش بگذره
Читать полностью…من الگوریتم رو اسلو داون کردم . تمام این محاسبات در کسری از ثانیه قابل انجامه
Читать полностью…بیایید ببینیم وایپر کیه :)😉
Читать полностью…Читать полностью…
private void OnResetTimerElapsed(object sender, ElapsedEventArgs e)
{
BeginInvokeOnMainThread(ToggleBooleanFalse);
}
private void ToggleBooleanTrue()
{
if (_countingStopped)
return;
_toggle = true;
_startTime = DateTime.Now;
UpdateGrid();
int barIndex = Bars.OpenTimes.Count - _currentLookBack - 1; // Start from the previous bar
if (_startIndex == -1)
_startIndex = barIndex;
DrawVerticalLineAtIndex(barIndex);
CountBars(_startIndex, barIndex);
if (_currentLookBack < LookBackLimit)
{
_currentLookBack++;
}
_resetTimer.Start();
}
private void ToggleBooleanFalse()
{
_toggle = false;
UpdateGrid();
_resetTimer.Stop();
}
private void DrawVerticalLineAtIndex(int index)
{
if (!string.IsNullOrEmpty(_lastLineName))
{
Chart.RemoveObject(_lastLineName);
}
_lastLineName = "line" + Bars.OpenTimes[index];
Chart.DrawVerticalLine(_lastLineName, Bars.OpenTimes[index], Color.Red);
}
private void DrawHorizontalLineAtIndex(int index)
{
double meanPrice = (Bars.OpenPrices[index] + Bars.ClosePrices[index]) / 2;
string horizontalLineName = "horizontalLine" + Bars.OpenTimes[index];
Chart.DrawHorizontalLine(horizontalLineName, meanPrice, Color.Blue, 2, LineStyle.Solid);
}
private void CountBars(int start, int end)
{
_upBarsCount = 0;
_downBarsCount = 0;
for (int i = start; i >= end && i >= 0; i--)
{
if (Bars.ClosePrices[i] > Bars.OpenPrices[i])
{
_upBarsCount++;
}
else if (Bars.ClosePrices[i] < Bars.OpenPrices[i])
{
_downBarsCount++;
}
}
if (_upBarsCount > 3 && _downBarsCount > 3 && _upBarsCount == _downBarsCount)
{
_countingStopped = true;
var duration = DateTime.Now - _startTime;
var discoveredBarIndex = _startIndex;
var discoveredBarOHLC = $"O: {Bars.OpenPrices[discoveredBarIndex]}, H: {Bars.HighPrices[discoveredBarIndex]}, L: {Bars.LowPrices[discoveredBarIndex]}, C: {Bars.ClosePrices[discoveredBarIndex]}";
var discoveredBarTime = Bars.OpenTimes[discoveredBarIndex];
_textBlock2.Text += $"\nCounting Duration: {duration.TotalSeconds} seconds\n" +
$"Discovered Bar Index: {discoveredBarIndex}\n" +
$"Discovered Bar OHLC: {discoveredBarOHLC}\n" +
$"Discovered Bar Time: {discoveredBarTime}";
DrawHorizontalLineAtIndex(discoveredBarIndex);
_resetTimer.Stop();
_toggleTimer.Stop();
}
UpdateGrid();
}
private void UpdateGrid()
{
// Calculate current day of the year and total days in the year
DateTime currentDate = DateTime.Now;
int currentDayOfYear = currentDate.DayOfYear;
int totalDaysInYear = DateTime.IsLeapYear(currentDate.Year) ? 366 : 365;
// Calculate the division result
double divisionResult = (double)currentDayOfYear / totalDaysInYear;
_textBlock1.Text = $"Boolean Value: {_toggle}";
_textBlock2.Text = $"SCAN ENGINE STATE :\n {(_toggle ? "Active" : "Inactive")}\n" +
$"Up Bars: {_upBarsCount}\n" +
$"Down Bars: {_downBarsCount}";
FULLY automated bar counter
On
C# cteader algo API
By mr algorithm
To declare variable types in C#, you need to specify the type of the variable followed by its name. Here are some examples of how to declare different types of variables:
using System;
namespace VariableDeclarations
{
class Program
{
static void Main(string[] args)
{
// Integer
int myInt = 42;
// Double (floating-point number)
double myDouble = 3.14159;
// Boolean
bool myBool = true;
// Character
char myChar = 'A';
// String
string myString = "Hello, World!";
// Decimal (high precision floating-point number)
decimal myDecimal = 19.99m;
// DateTime
DateTime myDate = DateTime.Now;
// Array of integers
int[] myIntArray = { 1, 2, 3, 4, 5 };
// List of strings
var myStringList = new List<string> { "apple", "banana", "cherry" };
// Output variables
Console.WriteLine($"Integer: {myInt}");
Console.WriteLine($"Double: {myDouble}");
Console.WriteLine($"Boolean: {myBool}");
Console.WriteLine($"Character: {myChar}");
Console.WriteLine($"String: {myString}");
Console.WriteLine($"Decimal: {myDecimal}");
Console.WriteLine($"DateTime: {myDate}");
Console.WriteLine($"Array: {string.Join(", ", myIntArray)}");
Console.WriteLine($"List: {string.Join(", ", myStringList)}");
}
}
}
true
or false
values.var
keyword is used to let the compiler infer the type.یاد اون صحنه از فیلم مسیح میوفتم
که رفت خواهرش رو از مزرعه ای که توش برده بود نجات بده .
و خواهرش میگفت . میگن پشت اون پرچین . همه گرسنه و بیمار و بدبختن
و حرکت نمیکرد به سمت رهایی
mohsen_chavoshi_ghomarbaz 128.mp3
Читать полностью…Erfan Tahmasbi - Bi Man (320).mp3
Читать полностью…85 % retracement till 14:47
Читать полностью…از تنها کسی که من ترسیدم خداست🧐
یه زمانی نمیترسیدم
اما
در انتهای لیوان خداوند منتظر شماست
//@version=5
indicator("Distance and Fibonacci", overlay=true)
var float x1 = na
var float x2 = na
var float y1 = na
var float y2 = na
if barstate.islast
label.new(x=x1, y=y1, text="1", style=label.style_label_down, color=color.new(color.white, 0))
label.new(x=x2, y=y2, text="2", style=label.style_label_up, color=color.new(color.white, 0))
if barstate.islast and x1 != na and x2 != na
distance = abs(x1 - x2)
fib_value = 0.5 * distance
f_values = array.new_float(0)
for i = 1 to 24
f = fib_value * pow(1.618, i)
array.push(f_values, f)
plot(array.reverse(f_values), color=color.blue, linewidth=2, title="Fibonacci")
bgcolor(color.new(color.white, 0))
// Code to get mouse click coordinates
get_click_coords() =>
[ta.valuewhen(mouseclicked, bar_index, 0), ta.valuewhen(mouseclicked, close, 0), mouseclicked]
mouseclicked = ta.change(close)
[mouseX, mouseY, clicked] = get_click_coords()
if not na(mouseX) and not na(mouseY) and clicked
if na(x1)
x1 := mouseX
y1 := mouseY
else if na(x2)
x2 := mouseX
y2 := mouseY
else
x1 := x2
y1 := y2
x2 := mouseX
y2 := mouseY
همون CE رو من یک سال پیش کد کردم
منتهی یخده باگ داشت . کسی حال نداشت دی باگ کنه
بوخدا
و برای همین من ؟
پولم
ت م ا م شد اون دوره .
Читать полностью…بایاس ترید شما را متحول میکند
Читать полностью…عشخ کنید و اتومیشن این اکشن رو ببینید . بله کد ها . زمان ترید کردن ماشین هاست . هر کس گفت نه این رو بهش نشون بدید .
این فقط بخش خردی از الگوریتم اسمانه
// Calculate the fraction and bias state
double fraction = Math.Min(_upBarsCount, _downBarsCount) / (double)Math.Max(_upBarsCount, _downBarsCount);
string biasState = _upBarsCount > _downBarsCount ? "BIAS UP" : _downBarsCount > _upBarsCount ? "BIAS DOWN" : "NEUTRAL";
_textBlock3.Text = $"Current Day of Year: {currentDayOfYear}\n" +
$"Total Days in Year: {totalDaysInYear}\n" +
$"Division Result: {divisionResult:F4}";
_textBlock4.Text = $"Fraction: {fraction:F4}\nBias State: {biasState}";
if (_toggle)
{
_textBlock1.ForegroundColor = Color.White;
_grid.BackgroundColor = Color.Green;
_textBlock2.ForegroundColor = Color.White;
}
else
{
_textBlock1.ForegroundColor = Color.Black;
_grid.BackgroundColor = Color.White;
_textBlock2.ForegroundColor = Color.Black;
}
}
protected override void OnStop()
{
BeginInvokeOnMainThread(() =>
{
_toggleTimer.Stop();
_toggleTimer.Dispose();
_resetTimer.Stop();
_resetTimer.Dispose();
});
}
protected override void OnTick()
{
// Handle price updates if needed
}
}
}
### Final Implementation
Here's the final implementation of the project. This code includes all the requested features and is well-organized. Below is the code along with a detailed explanation in Persian:
using System;Читать полностью…
using System.Timers;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
namespace cAlgo.Robots
{
[Robot(AccessRights = AccessRights.None)]
public class ToggleBoolean : Robot
{
private bool _toggle;
private System.Timers.Timer _toggleTimer;
private System.Timers.Timer _resetTimer;
private Grid _grid;
private TextBlock _textBlock1;
private TextBlock _textBlock2;
private TextBlock _textBlock3;
private TextBlock _textBlock4;
[Parameter("Delay Timer (seconds)", DefaultValue = 12, MinValue = 1)]
public int DelayTimer { get; set; }
[Parameter("Look-back Limit", DefaultValue = 365, MinValue = 1)]
public int LookBackLimit { get; set; }
private string _lastLineName;
private int _currentLookBack;
private int _upBarsCount;
private int _downBarsCount;
private int _startIndex;
private DateTime _startTime;
private bool _countingStopped;
protected override void OnStart()
{
// Calculate total days in the current year
DateTime currentDate = DateTime.Now;
int totalDaysInYear = DateTime.IsLeapYear(currentDate.Year) ? 366 : 365;
// Set LookBackLimit to total days in the current year by default, allowing user modification
LookBackLimit = totalDaysInYear;
_toggleTimer = new System.Timers.Timer(DelayTimer * 1000); // Convert to milliseconds
_toggleTimer.Elapsed += OnToggleTimerElapsed;
_toggleTimer.Start();
_resetTimer = new System.Timers.Timer(3000); // 3 seconds
_resetTimer.Elapsed += OnResetTimerElapsed;
_grid = new Grid(3, 2)
{
BackgroundColor = Color.White,
Opacity = 2,
ShowGridLines = true,
HorizontalAlignment = HorizontalAlignment.Center,
VerticalAlignment = VerticalAlignment.Center
};
Chart.AddControl(_grid);
_textBlock1 = new TextBlock
{
ForegroundColor = Color.Black,
FontWeight = FontWeight.DemiBold,
Margin = 5,
Text = "Initial TextBlock1"
};
_grid.AddChild(_textBlock1, 0, 0); // Add to first cell (row 0, column 0)
_textBlock2 = new TextBlock
{
ForegroundColor = Color.Black,
FontWeight = FontWeight.DemiBold,
Margin = 5,
Text = "Initial TextBlock2"
};
_grid.AddChild(_textBlock2, 0, 1); // Add to second cell (row 0, column 1)
_textBlock3 = new TextBlock
{
ForegroundColor = Color.Black,
FontWeight = FontWeight.DemiBold,
Margin = 5,
Text = "Date Information"
};
_grid.AddChild(_textBlock3, 1, 0); // Add to third cell (row 1, column 0)
_textBlock4 = new TextBlock
{
ForegroundColor = Color.Black,
FontWeight = FontWeight.DemiBold,
Margin = 5,
Text = "Fraction and Bias State"
};
_grid.AddChild(_textBlock4, 1, 1); // Add to fourth cell (row 1, column 1)
_currentLookBack = 1; // Initial look-back value
_upBarsCount = 0;
_downBarsCount = 0;
_startIndex = -1; // Initial start index
_countingStopped = false;
UpdateGrid();
}
private void OnToggleTimerElapsed(object sender, ElapsedEventArgs e)
{
BeginInvokeOnMainThread(ToggleBooleanTrue);
}
VIPER GEIGER MULER COUNTER MACHINE PUBLICATION
🕓
کسی که موفق میشه .
نه باهوشه
نه قوی
نه هیچی
چشماش میبینه و دستاش انجام میدهند
اینکه ادم ها . لایو مارکت رو جلو چمشون تربد کنی ولی بگن نه نیست کو
کجا !؟
ناراحتم میکنه
چون هیچ راه موفقیتی برای کسی که چشماشو بسته وجود ندارد
کی میخواد حتی نزدیک من باشه
حتی تصورش هم خنده داره
final tp till tomorow
Читать полностью…یه تیکه کاغذ بردار و برای خودت بنویس »»»
یه وقتایی بار بعدی وجود نداره شانس دومی نیست.
وقت اضافه و استراحتی نیست؛
گاهی وقتا یا الان هست و یا هرگز.
بزار جلوی چشمات باشه بذار بدونی که اگر امروزت سخت میگذره واسه چیزای مهمتریه و با ارزش تریه که میخوای.
#سرقتی_از_چنل_بغلی
//@version=5
indicator("VALID HnL", shorttitle="VALID HnL", overlay=true, max_labels_count=500)
source=high-low/open-close*58/58
lengthGroupTitle = "LENGTH LEFT / RIGHT"
colorGroupTitle = "Text Color / Label Color"
leftLenH = input.int(title="VALID HIGH", defval=10, minval=1, inline="VALID HIGH", group=lengthGroupTitle)
rightLenH = input.int(title="/", defval=10, minval=1, inline="VALID HIGH", group=lengthGroupTitle)
textColorH = input(title="VALID HIGH", defval=#ffffff, inline="VALID HIGH", group=colorGroupTitle)
labelColorH = input(title="", defval=color.rgb(255, 255, 255, 100), inline="VALID HIGH", group=colorGroupTitle)
leftLenL = input.int(title="VALID LOW", defval=10, minval=1, inline="VALID LOW", group=lengthGroupTitle)
rightLenL = input.int(title="/", defval=10, minval=1, inline="VALID LOW", group=lengthGroupTitle)
textColorL = input(title="VALID LOW", defval=color.rgb(255, 255, 255), inline="VALID LOW", group=colorGroupTitle)
labelColorL = input(title="", defval=color.rgb(255, 255, 255, 100), inline="VALID LOW", group=colorGroupTitle)
ph = ta.pivothigh(leftLenH, rightLenH)
pl = ta.pivotlow(leftLenL, rightLenL)
drawLabel(_offset, _pivot, _style, _color, _textColor) =>
if not na(_pivot)
label.new(bar_index[_offset], _pivot, str.tostring(_pivot, format.mintick), style=_style, color=_color, textcolor=_textColor)
drawLabel(rightLenH, ph, label.style_label_down, labelColorH, textColorH)
drawLabel(rightLenL, pl, label.style_label_up, labelColorL, textColorL)
All go
شایدم هس
سلطان شما که پیام دادید برای تشخیص بایاس
عزیز دل پس اون بایاس آلگوریتم های وایپر ؟!
سی گیته