timj

Big Candles v1

This script simply takes a user-defined bar height number (variable barHeight) to find large candles. Automatically colors large bullish and bearish candles green or red, respectively. The barHeight can be modified to fit your needs.

Use this in a variety of ways:
- Confirm breakouts of support / resistance
- Identify new trends

Deposits welcome
ETH: 0x6F27eB87148522eb5cB0D2b19f2E27CeB4D0964d

BTC: 1xF8jqpnorL8FdxJuxLJvyrN6Zda3fUJs
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
//@version=2
strategy("Big Candles", overlay=true)

barHeight = input(.032)

bigUp() => close > open and high-low > barHeight
bigDown() => close < open and high-low > barHeight

plotshape(bigUp(), color=green, style=shape.arrowup, text="Buy")
plotshape(bigDown(), color=red, style=shape.arrowdown, text="Sell")
barcolor(bigDown() ? red : bigUp() ? green : gray)