Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted
2 hours ago, tradevelopers said:

image.thumb.png.ee8885a35cd1c3db16b1b442af87cbed.png

Almost he got some of the lines. Its gonna be hard to correct it with just letting the deepseek or chatgpt correct or translate it to another script unless he could understand the theory of the wolfe wave. but with your files , maybe I feed him with this theory, maybe he could understand it better. LOL.

 

Posted
14 hours ago, roddizon1978 said:

Almost he got some of the lines. Its gonna be hard to correct it with just letting the deepseek or chatgpt correct or translate it to another script unless he could understand the theory of the wolfe wave. but with your files , maybe I feed him with this theory, maybe he could understand it better. LOL.

 

It would be great to have the code for Ninja, or for TradingView.

Posted

Be  carefull with Deepseek, I used it to correct this file now, I am getting problem in my Ninja editor, it embedded a file that I cannot find in the program, I think it is either a Virus or a spy files, I cannot find it, but the compiler see it.

  • 2 weeks later...
  • 7 months later...
Posted

# BTD + STR Original Model + Conservative Model - Upper
# Assembled by BenTen at UseThinkScript.com
# Modified by BoarTrades #Boar6916 on discord
# Version 2
# <INSTRUCTION>
# Get support at: https://usethinkscript.com/forums/buy-the-dip.32/
# <NOTES>
# Based on the concept of "Synethetic VIX" by Larry Williams
# This software is licensed for individual use only.
# NOT FOR REDISTRIBUTION PRIVATE/CONFIDENTIAL
# Copyright (c) 2020 useThinkScript LLC

input length_C = 22;
input length_50 = 50;
input length_100 = 100;
input BTD_meter = yes;
input STR_meter = yes;
input arrows = yes;
input color_change = yes;

# BTD Plot indicator - Conservative
def BTD_value = ((high - Lowest(close[1], length_C)) / Lowest(close[1], length_C)) * 100;
def buythedip = BTD_value;
def Zeroline = 0;
def BTD_condition = buythedip crosses below Zeroline;

# BTD Plot indicator - 50
def BTD_value_50 = ((high - Lowest(close[1], length_50)) / Lowest(close[1], length_50)) * 100;
def buythedip_50 = BTD_value_50;
def BTD_condition_50 = buythedip_50 crosses below Zeroline;

# BTD Plot indicator - 100
def BTD_value_100 = ((high - Lowest(close[1], length_100)) / Lowest(close[1], length_100)) * 100;
def buythedip_100 = BTD_value_100;
def BTD_condition_100 = buythedip_100 crosses below Zeroline;

# STR Plot indicator - Conservative
def STR_value = ((low - highest(close[1], length_C)) / highest(close[1], length_C)) * 100;
def selltherip = STR_value;
def STR_condition = selltherip crosses above Zeroline;

# STR Plot indicator - 50
def STR_value_50 = ((low - highest(close[1], length_50)) / highest(close[1], length_50)) * 100;
def selltherip_50 = STR_value_50;
def STR_condition_50 = selltherip_50 crosses above Zeroline;

# STR Plot indicator - 100
def STR_value_100 = ((low - highest(close[1], length_100)) / highest(close[1], length_100)) * 100;
def selltherip_100 = STR_value_100;
def STR_condition_100 = selltherip_100 crosses above Zeroline;

AddLabel(BTD_meter and yes, Concat("BTD = ", buythedip), color.light_green);
AddLabel(BTD_meter and yes, Concat("BTD = ", buythedip_50), color.green);
AddLabel(BTD_meter and yes, Concat("BTD = ", buythedip_100), color.dark_green);
AddLabel(STR_meter and yes, Concat("STR = ", selltherip), color.light_red);
AddLabel(STR_meter and yes, Concat("STR = ", selltherip_50), color.red);
AddLabel(STR_meter and yes, Concat("STR = ", selltherip_100), color.dark_red);

# BTD Plot arrows - Conservative
plot UpSignal = if arrows and BTD_condition then 0 else Double.NaN;
UpSignal.SetDefaultColor(Color.light_green);
UpSignal.SetLineWeight(1);
UpSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);

# BTD Plot arrows - 50
plot UpSignal_50 = if arrows and BTD_condition_50 then 0 else Double.NaN;
UpSignal_50.SetDefaultColor(Color.Green);
UpSignal_50.SetLineWeight(3);
UpSignal_50.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);

# BTD Plot arrows - 100
plot UpSignal_100 = if arrows and BTD_condition_100 then 0 else Double.NaN;
UpSignal_100.SetDefaultColor(Color.Dark_Green);
UpSignal_100.SetLineWeight(4);
UpSignal_100.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);

# STR Plot arrows - Conservative
plot DnSignal = if arrows and STR_condition then buythedip_100 else Double.NaN;
DnSignal.SetDefaultColor(Color.light_RED);
DnSignal.SetLineWeight(1);
DnSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);

# STR Plot arrows - 50
plot DnSignal_50 = if arrows and STR_condition_50 then buythedip_100 else Double.NaN;
DnSignal_50.SetDefaultColor(Color.RED);
DnSignal_50.SetLineWeight(3);
DnSignal_50.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);

# STR Plot arrows - 100
plot DnSignal_100 = if arrows and STR_condition_100 then buythedip_100 else Double.NaN;
DnSignal_100.SetDefaultColor(Color.Dark_RED);
DnSignal_100.SetLineWeight(4);
DnSignal_100.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);

Posted

The Lower Indicator for BTD

-------------------------------------------------------------------------------------------------------------------------

# Standard version of Buy the Dip indicator
# Assembled by BenTen at UseThinkScript.com
# Version 1.1
# <INSTRUCTION>
# Get support at: https://usethinkscript.com/forums/buy-the-dip.32/
# <NOTES>
# Based on the concept of "Synethetic VIX" by Larry Williams
# This software is licensed for individual use only.
# NOT FOR REDISTRIBUTION PRIVATE/CONFIDENTIAL
# Copyright (c) 2020 useThinkScript LLC

declare lower;

input length = 22;
input meter = yes;
input arrows = yes;
input color_change = yes;

# Plot indicator
def value = ((high - Lowest(close[1], length)) / Lowest(close[1], length)) * 100;
plot buythedip = value;
plot Zeroline = 0;
def condition = buythedip crosses below Zeroline;

buythedip.AssignValueColor(if color_change and buythedip < Zeroline then color.red else color.green);
Zeroline.AssignValueColor(color.white);

AddLabel(meter and yes, Concat("Meter = ", buythedip), color.orange);

# Plot arrows
plot UpSignal = if arrows and condition then 0 else Double.NaN;
UpSignal.SetDefaultColor(Color.Orange);
UpSignal.SetPaintingStrategy(PaintingStrategy.ARROW_UP);

# Alert
Alert(condition, "Buy the Dip", Alert.Bar, Sound.Chimes);

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...