1import{D as oe,aC as ce,r,j as e,C as c,a as x,b as u,B as j,h as J,c as d,d as H,e as g,T as V,aB as de,ai as me,ak as xe,al as ue,am as he,an as pe,ax as C,a8 as je,ao as Q,I as ge,au as fe,aq as W,a7 as Y,g as Ne,ad as be,ay as ve}from"./index-cfPuqhaj.js";import{T as ye,a as Se,b as U,c as K}from"./tabs-BWZe8I9b.js";import{P as Z}from"./progress-DZXIV7zl.js";import{S as ee,a as se,b as ae,c as te,d as re,e as we}from"./select-BkKB_kk1.js";import{T as Ce,a as Te,b as _,c as I,d as Pe,e as G}from"./table-BYl3Bg2R.js";import{fetchTradableInstrumentsFiltered as Oe,fetchBybitKlines as le,fetchBybitInstruments as Fe}from"./bybit-D3Sr7OM1.js";import{a as ie}from"./detectSMC-0ofJEWCT.js";import{O as ne}from"./OpenTradeButton-DV934FZD.js";import{P as Be}from"./play-BF0LNX7p.js";import{T as X}from"./trending-down-BlpjeSc0.js";import{I as qe}from"./info-CmG5bFTX.js";import{F as ke}from"./flask-conical-CUbZWT-U.js";import{C as Ae,b as Le,c as Me,d as De,e as ze}from"./command-CbWksmzg.js";import{P as Ee,a as Re,b as Ie}from"./popover-QLQMMjZ1.js";import{S as Ge}from"./shield-Bu_PT88a.js";import{A as He,a as q,b as k,c as A}from"./accordion-BpUCjA1q.js";import{S as Ve}from"./shield-check-B5MPNYtW.js";import"./index-QDpibnb4.js";import"./OpenTradeDialog-BkoS5M9W.js";import"./separator-DAFu8M61.js";import"./switch-GHzRyOPz.js";import"./wallet-Bq9FlasW.js";import"./useBybitConnection-T831W9F3.js";import"./crosshair-ruap5DNP.js";import"./index-BfJszYdn.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const $e=oe("ChartNoAxesColumnIncreasing",[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}
6],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]]);function Ue(){const m=ce(),[h,y]=r.useState("60"),[p,L]=r.useState(!1),[T,M]=r.useState(0),[f,D]=r.useState([]),[N,S]=r.useState("totalScore"),[$,P]=r.useState("desc"),O=r.useRef(null),[t,w]=r.useState(null),F=a=>{N===a?P(i=>i==="asc"?"desc":"asc"):(S(a),P("desc"))},b=[...f].sort((a,i)=>{let s=0;return N==="symbol"?s=a.symbol.localeCompare(i.symbol):N==="totalScore"?s=a.totalScore-i.totalScore:N==="direction"&&(s=a.direction.localeCompare(i.direction)),$==="asc"?s:-s}),z=async()=>{var i;(i=O.current)==null||i.abort();const a=new AbortController;O.current=a,L(!0),M(0),D([]);try{const o=(await Oe(a.signal)).filter(n=>n.lastPrice&&n.lastPrice>0).sort((n,l)=>(l.lastPrice||0)-(n.lastPrice||0)).slice(0,80),v=[];for(let n=0;n<o.length&&!a.signal.aborted;n++){M(Math.round((n+1)/o.length*100));try{const l=await le(o[n].symbol,h,200,a.signal);if(!l||l.length<50)continue;const R=ie(l,o[n].symbol,h);R&&R.totalScore>0&&v.push(R)}catch{}n%5===0&&await new Promise(l=>setTimeout(l,0))}v.sort((n,l)=>l.totalScore-n.totalScore),D(v.slice(0,50)),C({title:"Screener concluÃdo",description:`${v.length} moedas analisadas.`})}catch(s){s.name!=="AbortError"&&C({title:"Erro",description:s.message,variant:"destructive"})}finally{L(!1)}},E=a=>a>=80?"text-green-500 bg-green-500/10":a>=60?"text-emerald-500 bg-emerald-500/10":a>=40?"text-yellow-500 bg-yellow-500/10":a>=20?"text-orange-500 bg-orange-500/10":"text-red-500 bg-red-500/10",B=({field:a,children:i})=>e.jsxs(j,{variant:"ghost",size:"sm",onClick:()=>F(a),className:"h-auto p-0 font-semibold hover:bg-transparent gap-1",children:[i,e.jsx(je,{className:"h-3 w-3"})]});return e.jsxs("div",{className:"space-y-4",children:[e.jsxs(c,{children:[e.jsx(x,{className:"pb-3",children:e.jsxs("div",{className:"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-3",children:[e.jsx(u,{className:"text-lg",children:"SMC Screener â Top 50"}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(ee,{value:h,onValueChange:y,children:[e.jsx(se,{className:"w-[100px]",children:e.jsx(ae,{})}),e.jsx(te,{children:[{v:"1",l:"1m"},{v:"3",l:"3m"},{v:"5",l:"5m"},{v:"15",l:"15m"},{v:"60",l:"1h"},{v:"240",l:"4h"},{v:"D",l:"1d"}].map(a=>e.jsx(re,{value:a.v,children:a.l},a.v))})]}),e.jsxs(j,{onClick:z,disabled:p,className:"gap-2",children:[p?e.jsx(J,{className:"h-4 w-4 animate-spin"}):e.jsx(Be,{className:"h-4 w-4"}),p?"Analisando...":"Iniciar Scan"]})]})]})}),e.jsxs(d,{children:[p&&e.jsxs("div",{className:"mb-4",children:[e.jsx(Z,{value:T,className:"h-2"}),e.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:[T,"% concluÃdo"]})]}),f.length>0&&e.jsx("div",{className:"rounded-md border overflow-x-auto",children:e.jsxs(Ce,{children:[e.jsx(Te,{children:e.jsxs(_,{children:[e.jsx(I,{children:e.jsx(B,{field:"symbol",children:"Par"})}),e.jsx(I,{children:e.jsx(B,{field:"totalScore",children:"Score"})}),e.jsx(I,{children:e.jsx(B,{field:"direction",children:"Direção"})}),e.jsx(I,{className:"text-right",children:"Ações"})]})}),e.jsx(Pe,{children:b.map(a=>e.jsxs(_,{children:[e.jsx(G,{children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(H,{symbol:a.symbol,size:24}),e.jsx("span",{className:"font-medium text-sm",children:a.symbol})]})}),e.jsx(G,{children:e.jsx(g,{className:`font-mono ${E(a.totalScore)}`,children:a.totalScore})}),e.jsx(G,{children:e.jsxs("div",{className:"flex items-center gap-1",children:[a.direction==="LONG"?e.jsx(V,{className:"h-3.5 w-3.5 text-profit"}):e.jsx(X,{className:"h-3.5 w-3.5 text-loss"}),e.jsx("span",{className:`text-sm font-medium ${a.direction==="LONG"?"text-profit":"text-loss"}`,children:a.direction})]})}),e.jsx(G,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end gap-1",children:[e.jsx(j,{size:"sm",variant:"ghost",title:"Explicação",className:"text-primary",onClick:()=>w(a),children:e.jsx(qe,{className:"h-4 w-4"})}),e.jsx(j,{size:"sm",variant:"ghost",title:"Quick Backtest",className:"text-primary",onClick:()=>m("/app/assinante/backtest",{state:{strategy:"price_action",symbol:a.symbol}}),children:e.jsx(ke,{className:"h-4 w-4"})}),e.jsx(j,{size:"sm",variant:"ghost",title:"DCA Scalping",className:"text-primary",onClick:()=>m(`/app/assinante/estrategias/dca-scalping?symbol=${a.symbol}&direction=${a.direction}&tf=${h}`),children:e.jsx(de,{className:"h-4 w-4"})}),e.jsx(ne,{symbol:a.symbol,direction:a.direction,strategy:"Price Action",timeframe:h,initialSlPct:parseFloat(Math.abs((a.suggestedSL-a.lastPrice)/a.lastPrice*100).toFixed(2)),initialTpPct:parseFloat(Math.abs((a.suggestedTP-a.lastPrice)/a.lastPrice*100).toFixed(2))})]})})]},a.symbol))})]})}),!p&&f.length===0&&e.jsx("div",{className:"text-center py-12 text-muted-foreground",children:e.jsx("p",{children:'Clique em "Iniciar Scan" para analisar as moedas com SMC.'})})]})]}),e.jsx(me,{open:!!t,onOpenChange:a=>!a&&w(null),children:e.jsxs(xe,{className:"max-w-md",children:[e.jsxs(ue,{children:[e.jsxs(he,{className:"flex items-center gap-2",children:[t&&e.jsx(H,{symbol:t.symbol,size:24}),t==null?void 0:t.symbol," â Explicação"]}),e.jsxs(pe,{children:["Análise Smart Money Concepts (",t==null?void 0:t.t
6imeframe,")"]})]}),t&&e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-sm font-medium",children:"Direção:"}),e.jsxs(g,{className:t.direction==="LONG"?"bg-profit/10 text-profit":"bg-loss/10 text-loss",children:[t.direction==="LONG"?e.jsx(V,{className:"h-3 w-3 mr-1"}):e.jsx(X,{className:"h-3 w-3 mr-1"}),t.direction]}),e.jsxs(g,{className:`font-mono ${E(t.totalScore)}`,children:["Score: ",t.totalScore]})]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t.direction==="LONG"?"A análise identificou confluência de fatores Smart Money favorecendo uma posição compradora. Os conceitos abaixo sustentam essa leitura:":"A análise identificou confluência de fatores Smart Money favorecendo uma posição vendedora. Os conceitos abaixo sustentam essa leitura:"}),e.jsx("div",{className:"space-y-2",children:t.concepts.map(a=>e.jsxs("div",{className:"flex items-center justify-between text-sm border-b border-border/50 pb-1.5",children:[e.jsxs("div",{children:[e.jsx("span",{className:"font-medium",children:a.name}),e.jsxs("span",{className:"text-muted-foreground ml-2 text-xs",children:["(",a.weight,"%)"]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-xs text-muted-foreground",children:a.detail}),e.jsxs(g,{variant:"outline",className:"font-mono text-xs",children:[a.raw.toFixed(0),"/10"]})]})]},a.name))}),e.jsxs("div",{className:"text-xs text-muted-foreground bg-muted/50 rounded-md p-3 space-y-1",children:[e.jsxs("p",{children:[e.jsx("strong",{children:"Preço atual:"})," ",t.lastPrice.toFixed(4)]}),e.jsxs("p",{children:[e.jsx("strong",{children:"Entry sugerido:"})," ",t.suggestedEntry.toFixed(4)]}),e.jsxs("p",{children:[e.jsx("strong",{children:"Stop Loss:"})," ",t.suggestedSL.toFixed(4)," (",Math.abs((t.suggestedSL-t.lastPrice)/t.lastPrice*100).toFixed(2),"%)"]}),e.jsxs("p",{children:[e.jsx("strong",{children:"Take Profit:"})," ",t.suggestedTP.toFixed(4)," (",Math.abs((t.suggestedTP-t.lastPrice)/t.lastPrice*100).toFixed(2),"%)"]}),e.jsxs("p",{children:[e.jsx("strong",{children:"R:R:"})," ",(Math.abs(t.suggestedTP-t.lastPrice)/Math.abs(t.suggestedSL-t.lastPrice)).toFixed(1),":1"]})]})]})]})})]})}const Ke=[{v:"1",l:"1m"},{v:"3",l:"3m"},{v:"5",l:"5m"},{v:"15",l:"15m"},{v:"30",l:"30m"},{v:"60",l:"1h"},{v:"120",l:"2h"},{v:"240",l:"4h"},{v:"360",l:"6h"},{v:"720",l:"12h"},{v:"D",l:"1d"}];function Qe(){const[m,h]=r.useState(""),[y,p]=r.useState(""),[L,T]=r.useState(!1),[M,f]=r.useState([]),[D,N]=r.useState(!1),[S,$]=r.useState("60"),[P,O]=r.useState(!1),[t,w]=r.useState(null),F=r.useRef(null),b=r.useRef(null),z=r.useCallback(async s=>{const o=s.trim().replace(/[^a-z0-9]/gi,"").toLowerCase();if(o.length<2){f([]);return}N(!0);try{const v=F.current??await Fe();F.current||(F.current=v);const n=v.filter(l=>(l.status==="Trading"||!l.status)&&l.symbol.endsWith("USDT")).map(l=>l.symbol.toLowerCase().includes(o)?{raw:l.symbol,display:`${l.symbol}.P`}:null).filter(Boolean);f(n.slice(0,30))}catch{}finally{N(!1)}},[]);r.useEffect(()=>(b.current&&clearTimeout(b.current),y.length>=2?b.current=setTimeout(()=>z(y),300):f([]),()=>{b.current&&clearTimeout(b.current)}),[y,z]);const E=async()=>{if(!m){C({title:"Selecione uma moeda",variant:"destructive"});return}O(!0),w(null);try{const s=await le(m,S,300);if(!s||s.length<50){C({title:"Dados insuficientes",variant:"destructive"});return}const o=ie(s,m,S);if(!o){C({title:"Não foi possÃvel analisar",variant:"destructive"});return}w(o)}catch(s){C({title:"Erro",description:s.message,variant:"destructive"})}finally{O(!1)}},B=s=>s>=8?"text-green-500":s>=5?"text-yellow-500":s>=3?"text-orange-500":"text-red-500",a=s=>s>=80?"text-green-500 border-green-500/30 bg-green-500/10":s>=60?"text-emerald-500 border-emerald-500/30 bg-emerald-500/10":s>=40?"text-yellow-500 border-yellow-500/30 bg-yellow-500/10":"text-red-500 border-red-500/30 bg-red-500/10",i=s=>s>=1e3?s.toFixed(2):s>=1?s.toFixed(4):s.toFixed(6);return e.jsxs("div",{className:"space-y-4",children:[e.jsxs(c,{children:[e.jsx(x,{className:"pb-3",children:e.jsx(u,{className:"text-lg",children:"Análise SMC Indiv
6idual"})}),e.jsx(d,{children:e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[e.jsxs(Ee,{open:L,onOpenChange:T,children:[e.jsx(Re,{asChild:!0,children:e.jsxs(j,{variant:"outline",className:"w-full sm:w-[220px] justify-between",children:[m?e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(H,{symbol:m,size:20}),e.jsx("span",{children:m})]}):e.jsx("span",{className:"text-muted-foreground",children:"Selecione a moeda"}),e.jsx(we,{className:"h-4 w-4 opacity-50"})]})}),e.jsx(Ie,{className:"w-[220px] p-0",children:e.jsxs(Ae,{children:[e.jsxs("div",{className:"flex items-center border-b px-3",children:[e.jsx(Q,{className:"h-4 w-4 shrink-0 opacity-50"}),e.jsx(ge,{placeholder:"Buscar moeda...",value:y,onChange:s=>p(s.target.value),className:"border-0 focus-visible:ring-0 h-9"})]}),e.jsxs(Le,{children:[e.jsx(Me,{children:D?"Buscando...":"Nenhum resultado"}),e.jsx(De,{children:M.map(s=>e.jsxs(ze,{value:s.raw,onSelect:()=>{h(s.raw),p(""),T(!1)},children:[e.jsx(H,{symbol:s.raw,size:20}),e.jsx("span",{className:"ml-2",children:s.display})]},s.raw))})]})]})})]}),e.jsxs(ee,{value:S,onValueChange:$,children:[e.jsx(se,{className:"w-[100px]",children:e.jsx(ae,{})}),e.jsx(te,{children:Ke.map(s=>e.jsx(re,{value:s.v,children:s.l},s.v))})]}),e.jsxs(j,{onClick:E,disabled:P||!m,className:"gap-2",children:[P?e.jsx(J,{className:"h-4 w-4 animate-spin"}):e.jsx(Q,{className:"h-4 w-4"}),"Analisar"]}),m&&e.jsx(j,{variant:"ghost",size:"icon",onClick:()=>{h(""),w(null)},children:e.jsx(fe,{className:"h-4 w-4"})})]})})]}),t&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsx(c,{className:`border-2 ${a(t.totalScore)}`,children:e.jsxs(d,{className:"pt-6 text-center",children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-1",children:"Score Total"}),e.jsx("p",{className:"text-5xl font-bold",children:t.totalScore}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"de 100"})]})}),e.jsx(c,{children:e.jsxs(d,{className:"pt-6 text-center",children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-1",children:"Direção"}),e.jsxs("div",{className:"flex items-center justify-center gap-2",children:[t.direction==="LONG"?e.jsx(V,{className:"h-8 w-8 text-profit"}):e.jsx(X,{className:"h-8 w-8 text-loss"}),e.jsx("span",{className:`text-3xl font-bold ${t.direction==="LONG"?"text-profit":"text-loss"}`,children:t.direction})]})]})}),e.jsx(c,{children:e.jsxs(d,{className:"pt-6 text-center",children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-1",children:"Trade Sugerido"}),e.jsxs("div",{className:"space-y-1 text-sm",children:[e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:"Entrada:"}),e.jsx("span",{className:"font-mono",children:i(t.suggestedEntry)})]}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:"SL:"}),e.jsx("span",{className:"font-mono text-loss",children:i(t.suggestedSL)})]}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:"TP:"}),e.jsx("span",{className:"font-mono text-profit",children:i(t.suggestedTP)})]})]}),e.jsx("div",{className:"mt-3",children:e.jsx(ne,{symbol:t.symbol,direction:t.direction,strategy:"Price Action",timeframe:S})})]})})]}),e.jsxs(c,{children:[e.jsx(x,{children:e.jsx(u,{className:"text-lg",children:"Detalhamento SMC"})}),e.jsx(d,{children:e.jsx("div",{className:"space-y-3",children:t.concepts.map(s=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-32 text-sm font-medium",children:s.name}),e.jsx("div",{className:"flex-1",children:e.jsx(Z,{value:s.raw/10*100,className:"h-3"})}),e.jsx("div",{className:`w-10 text-right font-mono text-sm font-bold ${B(s.raw)}`,children:s.raw.toFixed(0)}),e.jsxs("div",{className:"w-14 text-right text-xs text-muted-foreground",children:[s.weighted.toFixed(1),"pts"]}),e.jsx("div",{className:"w-40 text-xs text-muted-foreground hidden lg:block",children:s.detail})]},s.name))})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(c,{children:[e.jsx(x,{className:"pb-2",children:e.jsxs(u,{className:"text-sm flex items-center gap-2",children:[e.jsx(Ge,{className:"h-4 w-4 text-profit"}),"Suportes"]})}),e.jsx(d,{children:t.supports.length>0?e.jsx("div",{className:"space-y-2",children:t.supports.map((s,o)=>e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsx("span",{className:"font-mono",children:i(s.price)}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("span",{className:"text-xs text-muted-foreground",children:[s.touches," toques"]}),e.jsxs(g,{variant:"outline",className:"text-profit text-xs",children:[s.strength.toFixed(0),"/10"]})]})]},o))}):e.jsx("p",{className:"text-sm text-muted-foreground",children:"Nenhum suporte identificado"})})]}),e.jsxs(c,{children:[e.jsx(x,{className:"pb-2",children:e.jsxs(u,{className:"text-sm flex items-center gap-2",children:[e.jsx(W,{className:"h-4 w-4 text-loss"}),"Resistências"]})}),e.jsx(d,{children:t.resistances.length>0?e.jsx("div",{className:"space-y-2",children:t.resistances.map((s,o)=>e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsx("span",{className:"font-mono",children:i(s.price)}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("span",{className:"text-xs text-muted-foreground",children:[s.touches," toques"]}),e.jsxs(g,{variant:"outline",className:"text-loss text-xs",children:[s.strength.toFixed(0),"/10"]})]})]},o))}):e.jsx("p",{className:"text-sm text-muted-foreground",children:"Nenhuma resistência identificada"})})]})]})]})]})}function Xe(){return e.jsxs("div",{className:"space-y-6",children:[e.jsxs(c,{children:[e.jsxs(x,{children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Y,{className:"h-6 w-6 text-primary"}),e.jsx(u,{className:"text-2xl",children:"Guia Completo: Price Action & Smart Money Concepts (SMC)"})]}),e.jsx(Ne,{children:"Tudo o que você precisa saber para entender a movimentação institucional do mercado."})]}),e.jsxs(d,{className:"space-y-4 prose prose-sm dark:prose-invert max-w-none",children:[e.jsxs("p",{children:["O trading baseado em ",e.jsx("strong",{children:"Price Action"})," (Ação do Preço) foca puramente no gráfico de preços, sem depender excessivamente de indicadores. O ",e.jsx("strong",{children:"Smart Money Concepts (SMC)"}
vendor: 4,925 bytes, line 6
6)," é uma evolução dessa análise, focada em entender onde grandes instituições (bancos, fundos de hedge) estão posicionando seu capital."]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 not-prose",children:[e.jsxs(c,{className:"bg-muted/50 border-none",children:[e.jsx(x,{className:"p-4",children:e.jsxs(u,{className:"text-lg flex items-center gap-2",children:[e.jsx(V,{className:"h-4 w-4"})," O que é Price Action?"]})}),e.jsx(d,{className:"p-4 pt-0 text-sm",children:"Estudo do movimento histórico dos preços para prever tendências futuras. Baseia-se em padrões de velas, suporte/resistência e linhas de tendência."})]}),e.jsxs(c,{className:"bg-muted/50 border-none",children:[e.jsx(x,{className:"p-4",children:e.jsxs(u,{className:"text-lg flex items-center gap-2",children:[e.jsx(W,{className:"h-4 w-4"})," O que é SMC?"]})}),e.jsx(d,{className:"p-4 pt-0 text-sm",children:'Uma metodologia que busca identificar "rastros" institucionais no gráfico, como manipulações de liquidez e ordens pendentes de grandes players.'})]})]})]})]}),e.jsxs(He,{type:"single",collapsible:!0,className:"w-full",children:[e.jsxs(q,{value:"structure",children:[e.jsx(k,{className:"text-lg font-semibold px-4 hover:bg-muted/50 transition-all rounded-lg",children:"1. Estrutura de Mercado (BOS e CHoCH)"}),e.jsx(A,{className:"p-6 space-y-4 border rounded-b-lg",children:e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"font-bold text-lg",children:"BOS (Break of Structure)"}),e.jsx("p",{children:"Ocorre quando o preço continua a tendência atual, rompendo o topo anterior (em tendência de alta) ou o fundo anterior (em tendência de baixa)."}),e.jsx("div",{className:"bg-muted rounded-lg overflow-hidden border",children:e.jsxs("div",{className:"aspect-video relative bg-[#1A1C1E] flex items-center justify-center p-4",children:[e.jsx("img",{src:"https://images.unsplash.com/photo-1611974717482-58a00f244832?q=80&w=1000&auto=format&fit=crop",alt:"Exemplo Real de Gráfico - Estrutura de Mercado",className:"object-contain max-h-full rounded"}),e.jsxs("div",{className:"absolute top-2 right-2 flex flex-col items-end text-white pointer-events-none",children:[e.jsx("span",{className:"bg-primary/90 px-3 py-1 rounded-full text-xs font-bold mb-2",children:"Exemplo Real de Mercado"}),e.jsx("p",{className:"text-[10px] opacity-70",children:"Estruturas de Higher Highs e Higher Lows"})]})]})}),e.jsx("h3",{className:"font-bold text-lg mt-6",children:"CHoCH (Change of Character)"}),e.jsx("p",{children:"à o primeiro sinal de uma possÃvel mudança na tendência. Ocorre quando o preço rompe o último fundo de uma tendência de alta (ou último topo de uma tendência de baixa)."}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"border p-3 rounded-lg",children:[e.jsx(g,{variant:"outline",className:"mb-2",children:"Trend Bullish"}),e.jsx("p",{className:"text-sm",children:"Preço faz topos e fundos ascendentes."})]}),e.jsxs("div",{className:"border p-3 rounded-lg border-destructive/50 bg-destructive/5",children:[e.jsx(g,{variant:"destructive",className:"mb-2",children:"CHoCH Bearish"}),e.jsx("p",{className:"text-sm",children:"Rompimento do último fundo válido, sinalizando reversão para baixa."})]})]})]})})]}),e.jsxs(q,{value:"ob",children:[e.jsx(k,{className:"text-lg font-semibold px-4 hover:bg-muted/50 transition-all rounded-lg",children:"2. Order Blocks e Zonas de Oferta/Demanda"}),e.jsxs(A,{className:"p-6 space-y-4 border rounded-b-lg",children:[e.jsxs("p",{children:[e.jsx("strong",{children:"Order Blocks (OB)"})," são velas especÃficas onde se acredita que as instituições deixaram ordens pendentes em massa antes de um movimento agressivo."]}),e.jsxs("ul",{className:"list-disc pl-5 space-y-2",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Bullish OB:"})," A última vela de baixa antes de um movimento forte de alta."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Bearish OB:"})," A última vela de alta antes de um movimento forte de baixa."]})]}),e.jsxs("div",{className:"bg-primary/5 p-4 rounded-lg border border-primary/20",children:[e.jsxs("h4",{className:"font-bold flex items-center gap-2",children:[e.jsx($e,{className:"h-4 w-4"})," Como identificar um OB válido?"]}),e.jsxs("p",{className:"text-sm mt-2",children:["Um bom Order Block deve ser seguido por um ",e.jsx("strong",{children:"Displacement"})," (movimento forte e rápido) que deixa um ",e.jsx("strong",{children:"FVG"})," para trás e quebra uma estrutura (BOS)."]})]}),e.jsx("img",{src:"https://images.unsplash.com/photo-1590283603385-17ffb3a7f29f?q=80&w=1000&auto=format&fit=crop",alt:"Exemplo Real de Order Block",className:"rounded-lg w-full h-48 object-cover mt-4"})]})]}),e.jsxs(q,{value:"fvg",children:[e.jsx(k,{className:"text-lg font-semibold px-4 hover:bg-muted/50 transition-all rounded-lg",children:"3. Fair V
6alue Gaps (FVG) ou Ineficiência"}),e.jsxs(A,{className:"p-6 space-y-4 border rounded-b-lg",children:[e.jsxs("p",{children:["O ",e.jsx("strong",{children:"FVG"}),' ocorre quando há um desequilÃbrio entre compradores e vendedores, resultando em um "buraco" no preço entre o pavio da primeira vela e o pavio da terceira vela em uma sequência de três.']}),e.jsx("div",{className:"flex flex-col items-center justify-center p-8 bg-muted rounded-lg border border-dashed border-primary/40",children:e.jsxs("div",{className:"text-center space-y-2",children:[e.jsx("p",{className:"font-mono text-xs uppercase tracking-widest text-muted-foreground",children:"O Preço tende a retornar ao FVG para reequilibrar o mercado."}),e.jsx("div",{className:"h-24 w-12 border-2 border-primary rounded-md mx-auto relative overflow-hidden",children:e.jsx("div",{className:"absolute inset-x-0 top-1/4 bottom-1/4 bg-primary/20 flex items-center justify-center text-[10px] font-bold",children:"FVG"})})]})}),e.jsx("p",{className:"text-sm italic",children:"Dica: FVGs são frequentemente usados como alvos (Take Profit) ou zonas de entrada para continuação do movimento."})]})]}),e.jsxs(q,{value:"liquidity",children:[e.jsx(k,{className:"text-lg font-semibold px-4 hover:bg-muted/50 transition-all rounded-lg",children:"4. Liquidez e Caça de Stop (Liquidity Sweep)"}),e.jsxs(A,{className:"p-6 space-y-4 border rounded-b-lg",children:[e.jsx("p",{children:"O mercado se move de uma zona de liquidez para outra. Liquidez é onde os stops estão posicionados."}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"border p-4 rounded-lg",children:[e.jsx("h4",{className:"font-bold text-primary",children:"Buy Side Liquidity (BSL)"}),e.jsx("p",{className:"text-sm",children:"Stops de quem está vendido, localizados acima de topos iguais (Double Tops) ou topos importantes."})]}),e.jsxs("div",{className:"border p-4 rounded-lg",children:[e.jsx("h4",{className:"font-bold text-destructive",children:"Sell Side Liquidity (SSL)"}),e.jsx("p",{className:"text-sm",children:"Stops de quem está comprado, localizados abaixo de fundos iguais (Double Bottoms) ou fundos importantes."})]})]}),e.jsxs("p",{className:"bg-primary/10 border border-primary/20 p-3 rounded-lg text-sm italic",children:[e.jsx("strong",{children:"Liquidity Sweep:"})," Quando o preço rompe um topo/fundo apenas para capturar os stops e imediatamente reverte."]})]})]}),e.jsxs(q,{value:"risk",children:[e.jsx(k,{className:"text-lg font-semibold px-4 hover:bg-muted/50 transition-all rounded-lg",children:"5. Gerenciamento de Risco Profissional"}),e.jsx(A,{className:"p-6 space-y-4 border rounded-b-lg",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx(Ve,{className:"h-10 w-10 text-primary flex-shrink-0"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{children:"Nenhuma estratégia funciona sem gerenciamento. No SMC, buscamos relações Risco:Retorno (RR) elevadas, como 1:3, 1:5 ou até mais."}),e.jsxs("ul",{className:"list-disc pl-5 text-sm space-y-1",children:[e.jsx("li",{children:"Nunca arrisque mais de 1% da banca por operação."}),e.jsx("li",{children:"Mantenha um diário de trading (Journaling)."}),e.jsx("li",{children:"Entenda que perdas fazem parte do processo estatÃstico."})]})]})]})})]})]}),e.jsxs(c,{className:"border-primary/20 bg-primary/5",children:[e.jsx(x,{children:e.jsxs(u,{className:"text-lg flex items-center gap-2",children:[e.jsx(be,{className:"h-5 w-5"})," Fontes e Referências para Estudo"]})}),e.jsxs(d,{children:[e.jsxs("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 text-sm",children:[e.jsxs("li",{className:"flex flex-col",children:[e.jsx("span",{className:"font-bold",children:"Inner Circle Trader (ICT)"}),e.jsx("span",{className:"text-muted-foreground text-xs",children:"O criador original de muitos conceitos de SMC. (YouTube: ICT)"})]}),e.jsxs("li",{className:"flex flex-col",children:[e.jsx("span",{className:"font-bold",children:"Photon Trading"}),e.jsx("span",{className:"text-muted-foreground text-xs",children:"Foco em estrutura mecânica e fluxograma de decisão."})]}),e.jsxs("li",{className:"flex flex-col",children:[e.jsx("span",{className:"font-bold",children:"MentFX"}),e.jsx("span",{className:"text-muted-foreground text-xs",children:"Especialista em Price Action puro e liquidez."})]}),e.jsxs("li",{className:"flex flex-col",children:[e.jsx("span",{className:"font-bold",children:"Investopedia"}),e.jsx("span",{className:"text-muted-foreground text-xs",children:"Conceitos básicos de suporte, resistência e candles."})]}),e.jsxs("li",{className:"flex flex-col",children:[e.jsx("span",{className:"font-bold",children:"BabyPips (School of Pipsology)"}),e.jsx("span",{className:"text-muted-foreground text-xs",children:"O melhor ponto de partida para iniciantes no trading."})]})]}),e.jsx("div",{className:"mt-6 pt-6 border-t border-primary/10",children:e.jsx("p",{className:"text-xs text-center text-muted-foreground italic",children:'"O conteúdo acima é meramente educativo e não constitui recomendação de investimento."'})})]})]})]})}function bs(){return e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-2xl font-bold",children:"Price Action â Smart Money Concepts"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Análise de BOS, CHoCH, Order Blocks, FVG, Liquidity Sweep e Displacement com scoring 0-100."})]}),e.jsxs(ye,{defaultValue:"screener",children:[e.jsxs(Se,{className:"grid w-full grid-cols-3",children:[e.jsxs(U,{value:"screener",className:"gap-1.5",children:[e.jsx(ve,{className:"h-4 w-4"}),"Screener"]}),e.jsxs(U,{value:"analysis",className:"gap-1.5",children:[e.jsx(Q,{className:"h-4 w-4"}),"Análise Individual"]}),e.jsxs(U,{value:"study",className:"gap-1.5",children:[e.jsx(Y,{className:"h-4 w-4"}),"Material de Estudo"]})]}),e.jsx(K,{value:"screener",className:"mt-4",children:e.jsx(Ue,{})}),e.jsx(K,{value:"analysis",className:"mt-4",children:e.jsx(Qe,{})}),e.jsx(K,{value:"study",className:"mt-4",children:e.jsx(Xe,{})})]})]})}export{bs as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.